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.001429/0.001429, allocations: 92.62 kB / 20.95 MB, free: 3.449 MB / 18.57 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.00148/0.00148, allocations: 153.5 kB / 24.25 MB, free: 156 kB / 18.57 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.435/1.435, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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 4.639e-06/4.639e-06, allocations: 4 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.425e-05/3.888e-05, allocations: 6.25 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003216/0.003255, allocations: 1.818 MB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.004584, allocations: 0.6539 MB / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.00468, allocations: 11.94 kB / 269.8 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.004812, allocations: 15.8 kB / 269.8 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.004975, allocations: 31.72 kB / 269.9 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.005516, allocations: 159.5 kB / 270 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.005752, allocations: 151.5 kB / 270.2 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.005884, allocations: 33.8 kB / 270.2 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.006049, allocations: 87.73 kB / 270.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.006151, allocations: 43.88 kB / 270.3 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.006185, allocations: 12 kB / 270.3 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.006286, allocations: 51.91 kB / 270.4 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.903e-05/0.006375, allocations: 47.83 kB / 270.4 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.006446, allocations: 35.86 kB / 270.5 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.006763, allocations: 219.2 kB / 270.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.006765, allocations: 0 / 270.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006766, allocations: 0 / 270.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.00677, allocations: 0 / 270.7 MB, free: 3.316 MB / 250.7 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.0007684/0.007538, allocations: 405.6 kB / 271.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.007572, allocations: 8.031 kB / 271.1 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.007648, allocations: 28.8 kB / 271.1 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.008001, allocations: 185.5 kB / 271.3 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.00802, allocations: 8.562 kB / 271.3 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.00804, allocations: 4.375 kB / 271.3 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007643/0.008804, allocations: 348.8 kB / 271.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.008813, allocations: 4 kB / 271.7 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.008831, allocations: 4 kB / 271.7 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.008836, allocations: 0 / 271.7 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.009103, allocations: 91.88 kB / 271.8 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006803/0.009783, allocations: 265.2 kB / 272 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.01028, allocations: 181.3 kB / 272.2 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.01049, allocations: 89.73 kB / 272.3 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/0.0109, allocations: 67.94 kB / 272.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.01094, allocations: 42.5 kB / 272.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.01094, allocations: 0 / 272.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006269/0.01157, allocations: 240.3 kB / 272.6 MB, free: 1.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.01167, allocations: 110.8 kB / 272.7 MB, free: 1.098 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.0119, allocations: 194.3 kB / 272.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.01192, allocations: 25.7 kB / 272.9 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.01201, allocations: 112.6 kB / 273.1 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.01203, allocations: 7.906 kB / 273.1 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.01208, allocations: 29.7 kB / 273.1 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.01226, allocations: 326.8 kB / 273.4 MB, free: 392 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.01233, allocations: 27.92 kB / 273.4 MB, free: 364 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.01246, allocations: 86.02 kB / 273.5 MB, free: 256 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.01259, allocations: 67.34 kB / 273.6 MB, free: 176 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01259, allocations: 0 / 273.6 MB, free: 176 kB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002264/0.01282, allocations: 117.5 kB / 273.7 MB, free: 52 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01283, allocations: 4.156 kB / 273.7 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01284, allocations: 4 kB / 273.7 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.01285, allocations: 7.938 kB / 273.7 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.01294, allocations: 11.98 kB / 273.7 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.01295, allocations: 7.938 kB / 273.7 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.01302, allocations: 8 kB / 273.7 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.01303, allocations: 0 / 273.7 MB, free: 8 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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.0001617/0.01319, allocations: 141.8 kB / 273.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.01354, allocations: 168.8 kB / 274 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.01394, allocations: 186 kB / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.01395, allocations: 7.984 kB / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01395, allocations: 0 / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01396, allocations: 0 / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.01416, allocations: 149.2 kB / 274.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.01417, allocations: 8 kB / 274.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.01433, allocations: 31.97 kB / 274.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01433, allocations: 0 / 274.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01434, allocations: 0 / 274.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01435, allocations: 8 kB / 274.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01435, allocations: 0 / 274.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.01483, allocations: 296 kB / 274.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.092e-05/0.01492, allocations: 39.83 kB / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.01496, allocations: 11.94 kB / 274.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.01509, allocations: 11.98 kB / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.01512, allocations: 0 / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.01514, allocations: 7.984 kB / 274.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.01529, allocations: 152.3 kB / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01529, allocations: 0 / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.01558, allocations: 28 kB / 275 MB, free: 14.72 MB / 266.7 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.000174/0.01575, allocations: 119.1 kB / 275.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.01604, allocations: 95.8 kB / 275.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01605, allocations: 0 / 275.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.01609, allocations: 16.23 kB / 275.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.01673, allocations: 153.4 kB / 275.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.0174, allocations: 322.5 kB / 275.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.01755, allocations: 119.7 kB / 275.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.848e-05/0.0176, allocations: 21.19 kB / 275.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.01764, allocations: 16.5 kB / 275.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01764, allocations: 0 / 275.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Templates: time 0.00616/0.0238, allocations: 2.445 MB / 278.3 MB, free: 11.39 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.221947145008016]