Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 47.92 kB / 371.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2388, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002729/0.2415, allocations: 1.505 MB / 424.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007942/0.2423, allocations: 457.4 kB / 425.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.2424, allocations: 4 kB / 425.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.2424, allocations: 7.922 kB / 425.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/0.2425, allocations: 15.81 kB / 425.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.2426, allocations: 27.95 kB / 425.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2427, allocations: 67.72 kB / 425.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.2428, allocations: 4 kB / 425.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.2429, allocations: 39.83 kB / 425.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.475e-05/0.243, allocations: 35.91 kB / 425.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.243, allocations: 4 kB / 425.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.243, allocations: 4 kB / 425.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.243, allocations: 11.88 kB / 425.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.2431, allocations: 27.86 kB / 425.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2432, allocations: 55.59 kB / 425.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2432, allocations: 0 / 425.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2432, allocations: 0 / 425.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2432, allocations: 0 / 425.7 MB, free: 12.35 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006126/0.2438, allocations: 323 kB / 426 MB, free: 12.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2439, allocations: 8.031 kB / 426 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.078e-05/0.2439, allocations: 4.188 kB / 426 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.2439, allocations: 30.75 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.2439, allocations: 12.89 kB / 426 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2441, allocations: 121.9 kB / 426.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2441, allocations: 3.938 kB / 426.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2441, allocations: 0 / 426.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.2444, allocations: 96.16 kB / 426.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2444, allocations: 0 / 426.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2444, allocations: 3.984 kB / 426.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2444, allocations: 0 / 426.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.2447, allocations: 75.8 kB / 426.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.2449, allocations: 166.4 kB / 426.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.2452, allocations: 99.75 kB / 426.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.2453, allocations: 46.61 kB / 426.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.2453, allocations: 0 / 426.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.2454, allocations: 34.56 kB / 426.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.2454, allocations: 0 / 426.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005536/0.2459, allocations: 141.5 kB / 426.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.246, allocations: 110.8 kB / 426.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2461, allocations: 130.5 kB / 427 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2462, allocations: 29.7 kB / 427.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.2462, allocations: 88.12 kB / 427.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.2463, allocations: 15.91 kB / 427.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.2463, allocations: 17.7 kB / 427.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2465, allocations: 314.8 kB / 427.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.2466, allocations: 31.97 kB / 427.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2467, allocations: 50.53 kB / 427.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.247, allocations: 86.41 kB / 427.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.247, allocations: 4 kB / 427.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003163/0.2473, allocations: 105.6 kB / 427.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2473, allocations: 4 kB / 427.8 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2474, allocations: 7.984 kB / 427.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2474, allocations: 0 / 427.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2475, allocations: 20.08 kB / 427.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2475, allocations: 0 / 427.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.2476, allocations: 19.88 kB / 427.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.2476, allocations: 4 kB / 427.8 MB, free: 9.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.78e-05/0.2477, allocations: 117.8 kB / 427.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.2477, allocations: 7.953 kB / 427.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.2478, allocations: 11.97 kB / 428 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2478, allocations: 3.938 kB / 428 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2478, allocations: 8 kB / 428 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2478, allocations: 4 kB / 428 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.2479, allocations: 144.7 kB / 428.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2479, allocations: 4 kB / 428.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.248, allocations: 19.97 kB / 428.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.248, allocations: 0 / 428.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.248, allocations: 3.938 kB / 428.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.248, allocations: 4 kB / 428.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.248, allocations: 0 / 428.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.2484, allocations: 154.6 kB / 428.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.2484, allocations: 4 kB / 428.3 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.2484, allocations: 3.938 kB / 428.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.2485, allocations: 15.98 kB / 428.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.2485, allocations: 7.984 kB / 428.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2485, allocations: 4 kB / 428.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.094e-05/0.2486, allocations: 95.27 kB / 428.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2486, allocations: 0 / 428.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001886/0.2488, allocations: 8 kB / 428.4 MB, free: 9.238 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006789/0.2495, allocations: 0.6803 MB / 429.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.2498, allocations: 71.94 kB / 429.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2498, allocations: 0 / 429.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.2499, allocations: 39.89 kB / 429.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.2501, allocations: 4 kB / 429.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.2507, allocations: 231.1 kB / 429.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.251, allocations: 0.6844 MB / 430.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.481e-05/0.2511, allocations: 12.16 kB / 430.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.2511, allocations: 19.44 kB / 430.2 MB, free: 7.398 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2511, allocations: 4 kB / 430.2 MB, free: 7.395 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.2732, allocations: 1.865 MB / 432 MB, free: 5.672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.4, allocations: 6.812 kB / 432 MB, free: 5.668 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.888548464979976]