Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.001702/0.001702, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002196/0.002196, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.539/1.539, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 55.8 kB / 325.6 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1066, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003551/0.1101, allocations: 1.83 MB / 380.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1116, allocations: 0.7049 MB / 381.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1117, allocations: 7.938 kB / 381.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.1119, allocations: 23.78 kB / 381.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.112, allocations: 27.8 kB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.1126, allocations: 167.6 kB / 381.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.1128, allocations: 147.6 kB / 381.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.113, allocations: 37.77 kB / 381.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1131, allocations: 71.77 kB / 381.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1132, allocations: 55.58 kB / 382 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.1133, allocations: 12 kB / 382 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1134, allocations: 55.97 kB / 382 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.1135, allocations: 47.83 kB / 382.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.1136, allocations: 55.66 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.1139, allocations: 211.1 kB / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1139, allocations: 0 / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1139, allocations: 0 / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1139, allocations: 0 / 382.3 MB, free: 12.24 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000758/0.1146, allocations: 409.5 kB / 382.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1147, allocations: 12.03 kB / 382.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.1148, allocations: 28.8 kB / 382.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.1152, allocations: 190.7 kB / 383 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1152, allocations: 8.562 kB / 383 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.1153, allocations: 20.12 kB / 383 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/0.116, allocations: 352.1 kB / 383.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.116, allocations: 0 / 383.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.116, allocations: 4 kB / 383.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.116, allocations: 4 kB / 383.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.1163, allocations: 87.88 kB / 383.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.1167, allocations: 261.3 kB / 383.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.1171, allocations: 188.3 kB / 383.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.1173, allocations: 89.73 kB / 384 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003959/0.1177, allocations: 67.94 kB / 384 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1178, allocations: 34.56 kB / 384.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.1178, allocations: 0 / 384.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006219/0.1184, allocations: 241.3 kB / 384.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1185, allocations: 122.8 kB / 384.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1187, allocations: 198.8 kB / 384.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1187, allocations: 29.7 kB / 384.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/0.1188, allocations: 100.6 kB / 384.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.1188, allocations: 23.89 kB / 384.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.1189, allocations: 37.72 kB / 384.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1191, allocations: 326.8 kB / 385.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.1192, allocations: 39.97 kB / 385.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.1194, allocations: 182.9 kB / 385.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1196, allocations: 208.1 kB / 385.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1196, allocations: 0 / 385.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003587/0.12, allocations: 217.1 kB / 385.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.12, allocations: 14.91 kB / 385.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.12, allocations: 4 kB / 385.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.12, allocations: 4 kB / 385.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1202, allocations: 44.52 kB / 385.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1202, allocations: 11.98 kB / 385.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1203, allocations: 23.83 kB / 385.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1203, allocations: 12 kB / 385.9 MB, free: 8.379 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.0001608/0.1205, allocations: 156.7 kB / 386 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.1208, allocations: 161.4 kB / 386.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.1212, allocations: 183.3 kB / 386.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1212, allocations: 0 / 386.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1212, allocations: 8 kB / 386.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1212, allocations: 0 / 386.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.1214, allocations: 149.2 kB / 386.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1214, allocations: 0 / 386.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1216, allocations: 31.92 kB / 386.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.1216, allocations: 7.984 kB / 386.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1216, allocations: 7.938 kB / 386.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1216, allocations: 0 / 386.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1216, allocations: 4 kB / 386.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.122, allocations: 284.1 kB / 386.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.1221, allocations: 47.81 kB / 386.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1222, allocations: 7.938 kB / 386.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.1223, allocations: 11.98 kB / 386.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1223, allocations: 0 / 386.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1224, allocations: 4 kB / 386.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1225, allocations: 152 kB / 387.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1225, allocations: 3.938 kB / 387.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1228, allocations: 39.98 kB / 387.1 MB, free: 7.07 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.0001637/0.123, allocations: 114.8 kB / 387.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.1233, allocations: 143.7 kB / 387.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1233, allocations: 1.188 kB / 387.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.1234, allocations: 8 kB / 387.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.124, allocations: 145.6 kB / 387.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.1246, allocations: 336.8 kB / 387.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.1247, allocations: 123.8 kB / 388 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.1248, allocations: 25.47 kB / 388 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.1248, allocations: 16.5 kB / 388 MB, free: 6.113 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1248, allocations: 0 / 388 MB, free: 6.113 MB / 350.1 MB Notification: Performance of Templates: time 0.006363/0.1312, allocations: 2.589 MB / 390.6 MB, free: 3.551 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.39146803796757]