Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.002054/0.002054, allocations: 123.4 kB / 17.79 MB, free: 5.277 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.002476/0.002476, allocations: 204.3 kB / 20.74 MB, free: 2.336 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.556/1.556, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 43.94 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.116, allocations: 53.34 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003431/0.1195, allocations: 1.694 MB / 428.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000515/0.12, allocations: 167.4 kB / 428.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1201, allocations: 0 / 428.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.159e-05/0.1202, allocations: 15.86 kB / 428.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.1203, allocations: 11.94 kB / 428.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1206, allocations: 43.83 kB / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1208, allocations: 51.84 kB / 428.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.1209, allocations: 27.97 kB / 428.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.121, allocations: 23.86 kB / 428.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.121, allocations: 23.86 kB / 428.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1211, allocations: 8 kB / 428.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.1211, allocations: 4 kB / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.1211, allocations: 15.92 kB / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.1212, allocations: 35.75 kB / 428.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.1214, allocations: 79.53 kB / 429 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1214, allocations: 0 / 429 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1214, allocations: 0 / 429 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1214, allocations: 0 / 429 MB, free: 2.078 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006483/0.122, allocations: 395 kB / 429.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1221, allocations: 8.031 kB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.1221, allocations: 8.891 kB / 429.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.1224, allocations: 206.5 kB / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1224, allocations: 4.375 kB / 429.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1225, allocations: 8.375 kB / 429.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.1229, allocations: 164.3 kB / 429.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1229, allocations: 4.188 kB / 429.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1229, allocations: 3.938 kB / 429.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.1229, allocations: 4 kB / 429.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1231, allocations: 39.91 kB / 429.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.1236, allocations: 365.9 kB / 430.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.1239, allocations: 115.7 kB / 430.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.124, allocations: 54.67 kB / 430.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.124, allocations: 4 kB / 430.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.1241, allocations: 38.72 kB / 430.4 MB, free: 488 kB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1241, allocations: 0 / 430.4 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003897/0.1245, allocations: 125.5 kB / 430.5 MB, free: 356 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.1247, allocations: 110.8 kB / 430.6 MB, free: 220 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1248, allocations: 142.1 kB / 430.8 MB, free: 68 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1248, allocations: 25.7 kB / 430.8 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.125, allocations: 92.08 kB / 430.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1251, allocations: 11.94 kB / 430.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.1251, allocations: 25.67 kB / 430.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1253, allocations: 322.8 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.1254, allocations: 12 kB / 431.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1255, allocations: 71.66 kB / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1257, allocations: 107.5 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1257, allocations: 0 / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002369/0.1259, allocations: 105.5 kB / 431.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1259, allocations: 4 kB / 431.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1259, allocations: 4.188 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1259, allocations: 0 / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.126, allocations: 23.92 kB / 431.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.126, allocations: 4 kB / 431.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.187e-05/0.1261, allocations: 7.953 kB / 431.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1261, allocations: 4.281 kB / 431.6 MB, free: 15.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 0.0001327/0.1262, allocations: 137.7 kB / 431.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.1264, allocations: 73.64 kB / 431.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.1264, allocations: 16.66 kB / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1264, allocations: 4 kB / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1264, allocations: 0 / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1264, allocations: 0 / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.1267, allocations: 189.5 kB / 432 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1267, allocations: 3.984 kB / 432 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.1268, allocations: 19.94 kB / 432 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1268, allocations: 4 kB / 432 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1268, allocations: 4 kB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.1268, allocations: 7.984 kB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1268, allocations: 0 / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.1273, allocations: 312.2 kB / 432.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.1274, allocations: 97.05 kB / 432.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1274, allocations: 3.938 kB / 432.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1275, allocations: 11.98 kB / 432.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1275, allocations: 0 / 432.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1275, allocations: 4 kB / 432.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.691e-05/0.1276, allocations: 105.8 kB / 432.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1276, allocations: 0 / 432.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.1279, allocations: 12 kB / 432.6 MB, free: 14.08 MB / 366.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 (10): * Single equations (assignments): 10 * 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.0001348/0.1281, allocations: 103.8 kB / 432.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.1283, allocations: 67.84 kB / 432.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1283, allocations: 0 / 432.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.1283, allocations: 8.625 kB / 432.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.1288, allocations: 40.03 kB / 432.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.1293, allocations: 211.6 kB / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.1298, allocations: 0.7002 MB / 433.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.251e-05/0.1299, allocations: 0.6719 kB / 433.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.1299, allocations: 19.38 kB / 433.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1299, allocations: 0 / 433.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of Templates: time 0.004488/0.1344, allocations: 0.7076 MB / 434.4 MB, free: 12.17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 5.082356322556734]