Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 115.5 kB / 18.46 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 213.6 kB / 21.42 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 254.8 MB, free: 14.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 51.92 kB / 374.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1142, allocations: 53.33 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003362/0.1176, allocations: 1.513 MB / 429 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1187, allocations: 0.5065 MB / 429.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1188, allocations: 0 / 429.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.1189, allocations: 7.938 kB / 429.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.119, allocations: 19.73 kB / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1193, allocations: 39.89 kB / 429.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1195, allocations: 63.78 kB / 429.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.1195, allocations: 4.188 kB / 429.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.1197, allocations: 51.77 kB / 429.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.1198, allocations: 31.91 kB / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1199, allocations: 4 kB / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.1199, allocations: 8 kB / 429.7 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.1199, allocations: 15.91 kB / 429.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.12, allocations: 27.86 kB / 429.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1202, allocations: 67.73 kB / 429.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1202, allocations: 0 / 429.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1202, allocations: 3.938 kB / 429.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1202, allocations: 0 / 429.8 MB, free: 1.887 MB / 350.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.0007947/0.121, allocations: 395.1 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/0.121, allocations: 12.03 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000364/0.1214, allocations: 36.86 kB / 430.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.1217, allocations: 176.3 kB / 430.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1217, allocations: 12.31 kB / 430.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1217, allocations: 384 / 430.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.122, allocations: 84.34 kB / 430.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.122, allocations: 0 / 430.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1221, allocations: 4 kB / 430.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1221, allocations: 11.92 kB / 430.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.1224, allocations: 55.94 kB / 430.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.1226, allocations: 187.5 kB / 430.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1229, allocations: 99.75 kB / 430.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.1231, allocations: 46.61 kB / 430.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1231, allocations: 8 kB / 430.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1231, allocations: 38.44 kB / 431 MB, free: 0.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1231, allocations: 0 / 431 MB, free: 0.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006006/0.1237, allocations: 145.8 kB / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.1238, allocations: 102.8 kB / 431.2 MB, free: 276 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1239, allocations: 128.2 kB / 431.3 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1239, allocations: 29.7 kB / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.124, allocations: 92.12 kB / 431.5 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2463/0.3703, allocations: 21.84 kB / 431.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.3704, allocations: 14.48 kB / 431.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.3705, allocations: 322.2 kB / 431.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3707, allocations: 36.78 kB / 431.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3708, allocations: 43.25 kB / 431.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.3711, allocations: 81.05 kB / 432 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3711, allocations: 1.969 kB / 432 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003856/0.3715, allocations: 116.5 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3715, allocations: 7.812 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3715, allocations: 0.625 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3716, allocations: 2.703 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3717, allocations: 19.98 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3717, allocations: 4.812 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3718, allocations: 11.42 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3719, allocations: 6.781 kB / 432.1 MB, free: 10.88 MB / 350.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 7.999e-05/0.3719, allocations: 112.5 kB / 432.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.372, allocations: 10.22 kB / 432.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.372, allocations: 17.42 kB / 432.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.372, allocations: 7.531 kB / 432.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.372, allocations: 1.719 kB / 432.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.372, allocations: 0.7188 kB / 432.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.3721, allocations: 180 kB / 432.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3721, allocations: 1.594 kB / 432.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.3723, allocations: 21.48 kB / 432.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3723, allocations: 2.109 kB / 432.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3723, allocations: 1.938 kB / 432.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3723, allocations: 7 kB / 432.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3723, allocations: 4.125 kB / 432.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.3726, allocations: 147.8 kB / 432.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.3727, allocations: 83.62 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3727, allocations: 3.141 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3728, allocations: 17.2 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.3728, allocations: 3.516 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3728, allocations: 5.547 kB / 432.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.342e-05/0.3729, allocations: 99.86 kB / 432.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3729, allocations: 0 / 432.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00021/0.3731, allocations: 12.16 kB / 432.9 MB, free: 10.3 MB / 350.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.416e-05/0.3732, allocations: 95.16 kB / 433 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.3736, allocations: 73.83 kB / 433 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3736, allocations: 0.9062 kB / 433 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3737, allocations: 41.73 kB / 433.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3739, allocations: 5.047 kB / 433.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.3745, allocations: 223.5 kB / 433.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.3746, allocations: 0.6906 MB / 434 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.3746, allocations: 10.09 kB / 434 MB, free: 9.348 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3746, allocations: 0 / 434 MB, free: 9.348 MB / 350.1 MB Notification: Performance of Templates: time 0.002478/0.3771, allocations: 0.9086 MB / 434.9 MB, free: 9.312 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 7.098032952984795]