Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002128/0.002128, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.674/1.674, allocations: 230.5 MB / 258.1 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2474, allocations: 53.41 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002816/0.2502, allocations: 1.515 MB / 434 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009239/0.2511, allocations: 0.5065 MB / 434.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.2512, allocations: 0 / 434.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.2512, allocations: 7.938 kB / 434.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.437e-05/0.2513, allocations: 19.78 kB / 434.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.2515, allocations: 31.91 kB / 434.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.2516, allocations: 79.7 kB / 434.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.2517, allocations: 8.172 kB / 434.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.2519, allocations: 39.86 kB / 434.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.522e-05/0.252, allocations: 35.83 kB / 434.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.252, allocations: 4 kB / 434.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.376e-05/0.252, allocations: 12 kB / 434.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.2521, allocations: 7.984 kB / 434.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.2521, allocations: 35.73 kB / 434.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.2523, allocations: 67.53 kB / 434.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2523, allocations: 0 / 434.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2523, allocations: 4 kB / 434.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2523, allocations: 0 / 434.8 MB, free: 4.352 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.0006432/0.2529, allocations: 315.4 kB / 435.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2529, allocations: 12.03 kB / 435.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/0.2533, allocations: 32.86 kB / 435.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2535, allocations: 126.4 kB / 435.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2535, allocations: 4.375 kB / 435.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2535, allocations: 4.375 kB / 435.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.2538, allocations: 84.34 kB / 435.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.2538, allocations: 3.938 kB / 435.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2538, allocations: 4 kB / 435.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2538, allocations: 0 / 435.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.2541, allocations: 59.94 kB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.2543, allocations: 158.5 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.2545, allocations: 103.7 kB / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2547, allocations: 54.55 kB / 435.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.2547, allocations: 3.984 kB / 435.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.2547, allocations: 38.5 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2547, allocations: 4 kB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005211/0.2553, allocations: 137.8 kB / 435.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.2553, allocations: 114.8 kB / 436 MB, free: 2.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.2555, allocations: 128.3 kB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.2555, allocations: 29.7 kB / 436.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.2555, allocations: 88.14 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.2556, allocations: 19.83 kB / 436.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.2556, allocations: 13.72 kB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2557, allocations: 318.8 kB / 436.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2559, allocations: 35.97 kB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.256, allocations: 46.48 kB / 436.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.2563, allocations: 90.45 kB / 436.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2563, allocations: 0 / 436.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003214/0.2566, allocations: 113.5 kB / 436.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2566, allocations: 8 kB / 436.9 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2566, allocations: 8.078 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2567, allocations: 0 / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.2568, allocations: 19.97 kB / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2568, allocations: 0 / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.2569, allocations: 11.98 kB / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2569, allocations: 4 kB / 437 MB, free: 1.957 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 9.337e-05/0.257, allocations: 117.8 kB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.257, allocations: 11.89 kB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.2571, allocations: 19.91 kB / 437.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2571, allocations: 4 kB / 437.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2571, allocations: 0 / 437.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2571, allocations: 0 / 437.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.2572, allocations: 144.7 kB / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2572, allocations: 3.938 kB / 437.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.2573, allocations: 23.91 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2573, allocations: 0 / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.2574, allocations: 8 kB / 437.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2574, allocations: 4 kB / 437.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2574, allocations: 0 / 437.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.2577, allocations: 138.7 kB / 437.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.2577, allocations: 23.88 kB / 437.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.2577, allocations: 4 kB / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.2578, allocations: 7.984 kB / 437.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.2579, allocations: 11.94 kB / 437.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.2579, allocations: 3.984 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.258, allocations: 99.27 kB / 437.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.258, allocations: 0 / 437.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.2582, allocations: 8 kB / 437.6 MB, free: 1.254 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.0001066/0.2583, allocations: 99.25 kB / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.2586, allocations: 71.86 kB / 437.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2586, allocations: 0 / 437.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.2588, allocations: 40.22 kB / 437.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.2589, allocations: 11.94 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.2595, allocations: 226.8 kB / 438 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.2598, allocations: 0.6846 MB / 438.7 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.2598, allocations: 15.48 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2598, allocations: 0 / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of Templates: time 0.002484/0.2623, allocations: 0.9172 MB / 439.6 MB, free: 15.13 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.161903260042891]