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.001275/0.001275, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001344/0.001344, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.386/1.386, allocations: 225.6 MB / 253.3 MB, free: 13.05 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: translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 39.94 kB / 371.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2545, allocations: 52.18 MB / 423.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002724/0.2572, allocations: 1.512 MB / 425.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.258, allocations: 461.4 kB / 425.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.258, allocations: 0 / 425.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.258, allocations: 3.938 kB / 425.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.076e-05/0.2581, allocations: 23.84 kB / 425.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.2583, allocations: 27.91 kB / 425.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.2584, allocations: 67.72 kB / 425.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.2585, allocations: 4 kB / 425.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.2586, allocations: 39.84 kB / 426 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.2587, allocations: 31.91 kB / 426 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2587, allocations: 4 kB / 426 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.2587, allocations: 4 kB / 426 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.2587, allocations: 15.91 kB / 426 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.2588, allocations: 27.86 kB / 426.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.2589, allocations: 59.53 kB / 426.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2589, allocations: 0 / 426.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2589, allocations: 0 / 426.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2589, allocations: 0 / 426.1 MB, free: 12.45 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.0006492/0.2595, allocations: 319.4 kB / 426.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2596, allocations: 8.031 kB / 426.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.2596, allocations: 16.86 kB / 426.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2597, allocations: 118.4 kB / 426.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.2598, allocations: 4.375 kB / 426.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.2598, allocations: 3.938 kB / 426.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.26, allocations: 88.22 kB / 426.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.26, allocations: 3.938 kB / 426.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.26, allocations: 0 / 426.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2601, allocations: 4 kB / 426.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.2603, allocations: 55.94 kB / 426.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.2605, allocations: 162.5 kB / 426.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.2608, allocations: 107.7 kB / 427 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.2609, allocations: 42.61 kB / 427 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2609, allocations: 7.938 kB / 427.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.261, allocations: 34.56 kB / 427.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.261, allocations: 0 / 427.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005106/0.2615, allocations: 141.5 kB / 427.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.2615, allocations: 106.8 kB / 427.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.2616, allocations: 137.6 kB / 427.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2617, allocations: 26.08 kB / 427.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.2617, allocations: 100.1 kB / 427.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.2618, allocations: 7.906 kB / 427.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.2618, allocations: 21.7 kB / 427.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2619, allocations: 318.8 kB / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.262, allocations: 27.97 kB / 428 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.2622, allocations: 54.55 kB / 428 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.2624, allocations: 78.45 kB / 428.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2624, allocations: 4 kB / 428.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003047/0.2627, allocations: 113.5 kB / 428.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2628, allocations: 4 kB / 428.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2628, allocations: 0 / 428.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2628, allocations: 0 / 428.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.2629, allocations: 19.97 kB / 428.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2629, allocations: 8.094 kB / 428.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.461e-05/0.263, allocations: 15.94 kB / 428.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.263, allocations: 3.984 kB / 428.2 MB, free: 10.09 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.633e-05/0.2631, allocations: 117.8 kB / 428.4 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.2631, allocations: 7.953 kB / 428.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.2632, allocations: 11.95 kB / 428.4 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2632, allocations: 4 kB / 428.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2632, allocations: 4 kB / 428.4 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2632, allocations: 4 kB / 428.4 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.2633, allocations: 156.6 kB / 428.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2633, allocations: 0 / 428.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.2634, allocations: 23.92 kB / 428.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2634, allocations: 3.984 kB / 428.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2635, allocations: 4 kB / 428.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2635, allocations: 0 / 428.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2635, allocations: 0 / 428.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.2638, allocations: 150.8 kB / 428.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.2638, allocations: 0 / 428.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2638, allocations: 4 kB / 428.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.2639, allocations: 7.984 kB / 428.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.264, allocations: 23.86 kB / 428.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.264, allocations: 4 kB / 428.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.554e-05/0.264, allocations: 99.25 kB / 428.9 MB, free: 9.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.264, allocations: 0 / 428.9 MB, free: 9.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002041/0.2642, allocations: 12 kB / 428.9 MB, free: 9.379 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 9.313e-05/0.2643, allocations: 91.25 kB / 429 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.2647, allocations: 71.88 kB / 429 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2647, allocations: 0 / 429 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.2648, allocations: 43.95 kB / 429.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.265, allocations: 15.09 kB / 429.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.2655, allocations: 215.3 kB / 429.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.2658, allocations: 0.6883 MB / 430 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.2658, allocations: 15.42 kB / 430 MB, free: 8.18 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2658, allocations: 0 / 430 MB, free: 8.18 MB / 334.1 MB Notification: Performance of Templates: time 0.002372/0.2682, allocations: 0.872 MB / 430.9 MB, free: 7.305 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] 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: 6.610012071207166]