Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.001407/0.001407, allocations: 119.6 kB / 18.41 MB, free: 4.664 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.001299/0.001299, allocations: 188.3 kB / 21.34 MB, free: 1.738 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.511/1.511, allocations: 222.9 MB / 247 MB, free: 4.199 MB / 190.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.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 48.06 kB / 358.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1089, allocations: 49.44 MB / 408.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.004039/0.1129, allocations: 1.852 MB / 410 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1146, allocations: 0.6894 MB / 410.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.1148, allocations: 4 kB / 410.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.115, allocations: 19.8 kB / 410.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.1152, allocations: 23.8 kB / 410.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.1158, allocations: 151.6 kB / 410.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.1161, allocations: 147.6 kB / 411 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1162, allocations: 65.45 kB / 411.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1164, allocations: 59.72 kB / 411.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1165, allocations: 63.69 kB / 411.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.1166, allocations: 12 kB / 411.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1167, allocations: 47.97 kB / 411.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.1168, allocations: 43.83 kB / 411.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.1169, allocations: 75.53 kB / 411.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.1172, allocations: 199.1 kB / 411.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.1172, allocations: 0 / 411.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1172, allocations: 0 / 411.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1173, allocations: 0 / 411.5 MB, free: 3.375 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008311/0.1181, allocations: 482.6 kB / 412 MB, free: 2.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1181, allocations: 11.89 kB / 412 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1182, allocations: 24.78 kB / 412 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.1187, allocations: 244.2 kB / 412.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1187, allocations: 4.562 kB / 412.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.1188, allocations: 20.06 kB / 412.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.1195, allocations: 328.1 kB / 412.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1195, allocations: 4 kB / 412.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1195, allocations: 4 kB / 412.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1196, allocations: 0 / 412.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.1198, allocations: 79.95 kB / 412.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.1203, allocations: 349.5 kB / 413.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.1208, allocations: 262.5 kB / 413.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.121, allocations: 97.67 kB / 413.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007128/0.1218, allocations: 0.5895 MB / 414 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1218, allocations: 30.56 kB / 414 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.1218, allocations: 0 / 414 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006634/0.1225, allocations: 247.2 kB / 414.3 MB, free: 308 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1226, allocations: 114.8 kB / 414.4 MB, free: 168 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.1228, allocations: 202.1 kB / 414.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.1229, allocations: 29.7 kB / 414.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.123, allocations: 100.6 kB / 414.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.123, allocations: 15.91 kB / 414.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.1231, allocations: 45.83 kB / 414.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1232, allocations: 330.8 kB / 415.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.1233, allocations: 39.92 kB / 415.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.1235, allocations: 166.4 kB / 415.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.1238, allocations: 204.1 kB / 415.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1238, allocations: 4 kB / 415.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003633/0.1242, allocations: 213.7 kB / 415.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1242, allocations: 16.02 kB / 415.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1242, allocations: 7.984 kB / 415.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1243, allocations: 4 kB / 415.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1244, allocations: 39.92 kB / 415.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.1244, allocations: 11.94 kB / 415.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.1246, allocations: 23.88 kB / 415.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1246, allocations: 8 kB / 415.8 MB, free: 14.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.000167/0.1248, allocations: 160.1 kB / 416 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.1251, allocations: 159.5 kB / 416.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.1255, allocations: 183.3 kB / 416.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1255, allocations: 3.938 kB / 416.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1256, allocations: 4 kB / 416.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1256, allocations: 0 / 416.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1258, allocations: 229.5 kB / 416.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.1259, allocations: 3.938 kB / 416.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.126, allocations: 35.97 kB / 416.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.126, allocations: 0 / 416.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.126, allocations: 8 kB / 416.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1261, allocations: 0 / 416.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.1261, allocations: 3.938 kB / 416.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.1265, allocations: 288 kB / 416.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1267, allocations: 120.9 kB / 417 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.1267, allocations: 4 kB / 417 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.1268, allocations: 11.98 kB / 417 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1269, allocations: 0 / 417 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1269, allocations: 7.984 kB / 417 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1271, allocations: 143.2 kB / 417.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1271, allocations: 0 / 417.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.1274, allocations: 31.94 kB / 417.2 MB, free: 13.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002045/0.1276, allocations: 131.1 kB / 417.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.128, allocations: 136.8 kB / 417.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.128, allocations: 4 kB / 417.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.1281, allocations: 16.17 kB / 417.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.1287, allocations: 157.5 kB / 417.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.1294, allocations: 354.4 kB / 418 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1298, allocations: 0.7322 MB / 418.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.1299, allocations: 23.38 kB / 418.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1299, allocations: 0 / 418.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Templates: time 0.004885/0.1348, allocations: 2.262 MB / 421 MB, free: 9.227 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.788429468055256]