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.000773/0.000773, allocations: 84 kB / 21.43 MB, free: 3.137 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.003331/0.003331, allocations: 141.6 kB / 24.68 MB, free: 8.891 MB / 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 0.8507/0.8507, allocations: 173.4 MB / 201.2 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] 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 1.132e-06/1.132e-06, allocations: 3.938 kB / 319.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.099e-05, allocations: 10.22 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002266/0.002287, allocations: 1.804 MB / 321.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007805/0.003067, allocations: 0.6581 MB / 322.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.956e-05/0.003157, allocations: 7.938 kB / 322.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.003274, allocations: 19.73 kB / 322.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.00341, allocations: 27.73 kB / 322.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.003794, allocations: 170.2 kB / 322.4 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.003954, allocations: 147.5 kB / 322.5 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.004064, allocations: 41.77 kB / 322.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.004163, allocations: 83.73 kB / 322.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.004251, allocations: 47.81 kB / 322.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.004274, allocations: 12 kB / 322.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.772e-05/0.004352, allocations: 47.97 kB / 322.8 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.004428, allocations: 47.83 kB / 322.8 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.004472, allocations: 35.86 kB / 322.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.004689, allocations: 211.3 kB / 323 MB, free: 2.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.004692, allocations: 4 kB / 323 MB, free: 2.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004693, allocations: 0 / 323 MB, free: 2.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004697, allocations: 0 / 323 MB, free: 2.488 MB / 282.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.000519/0.005216, allocations: 404.8 kB / 323.4 MB, free: 2.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.005248, allocations: 8.031 kB / 323.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.005291, allocations: 20.8 kB / 323.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.005522, allocations: 189.4 kB / 323.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.005536, allocations: 12.56 kB / 323.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.005549, allocations: 16.3 kB / 323.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.005993, allocations: 352.6 kB / 324 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.006002, allocations: 0 / 324 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.006016, allocations: 8 kB / 324 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.006021, allocations: 0 / 324 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.006152, allocations: 83.94 kB / 324.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.006422, allocations: 269.2 kB / 324.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.0067, allocations: 181.4 kB / 324.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.006805, allocations: 89.67 kB / 324.6 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.007031, allocations: 55.94 kB / 324.7 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.00705, allocations: 38.56 kB / 324.7 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.434e-06/0.007053, allocations: 4 kB / 324.7 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003407/0.007394, allocations: 233.3 kB / 325 MB, free: 428 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.007454, allocations: 117.8 kB / 325.1 MB, free: 288 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.007571, allocations: 190.4 kB / 325.3 MB, free: 88 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.007585, allocations: 25.7 kB / 325.3 MB, free: 56 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.007642, allocations: 108.5 kB / 325.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.00766, allocations: 15.89 kB / 325.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.007691, allocations: 21.84 kB / 325.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.007764, allocations: 334.8 kB / 325.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.007806, allocations: 27.95 kB / 325.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.007861, allocations: 85.92 kB / 325.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.24e-05/0.007933, allocations: 67.41 kB / 325.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007935, allocations: 0 / 325.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001123/0.008047, allocations: 121.5 kB / 326.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.008058, allocations: 4 kB / 326.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.008062, allocations: 0 / 326.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.008073, allocations: 4 kB / 326.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.008129, allocations: 15.98 kB / 326.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.008133, allocations: 0 / 326.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.008167, allocations: 4 kB / 326.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.008173, allocations: 4 kB / 326.1 MB, free: 15.2 MB / 298.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 8.505e-05/0.008258, allocations: 145.8 kB / 326.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.008421, allocations: 168.9 kB / 326.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.008626, allocations: 171.6 kB / 326.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.008629, allocations: 0 / 326.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.008633, allocations: 0 / 326.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.008638, allocations: 7.984 kB / 326.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.008752, allocations: 161 kB / 326.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.008757, allocations: 4 kB / 326.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.008828, allocations: 39.91 kB / 326.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.00883, allocations: 0 / 326.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.00884, allocations: 4 kB / 326.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008841, allocations: 0 / 326.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008843, allocations: 3.984 kB / 326.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.009069, allocations: 288.1 kB / 327.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.009122, allocations: 39.83 kB / 327.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.009143, allocations: 8 kB / 327.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.009204, allocations: 19.98 kB / 327.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.009227, allocations: 0 / 327.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.00924, allocations: 4 kB / 327.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.827e-05/0.009318, allocations: 156.3 kB / 327.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009318, allocations: 0 / 327.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.009489, allocations: 27.94 kB / 327.3 MB, free: 13.91 MB / 298.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.000122/0.009611, allocations: 107.2 kB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.009777, allocations: 103.9 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.009778, allocations: 0 / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.009797, allocations: 7.984 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.01017, allocations: 153.4 kB / 327.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.01085, allocations: 353.1 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.645e-05/0.01092, allocations: 124 kB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.01095, allocations: 12.5 kB / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01095, allocations: 0 / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of Templates: time 0.002547/0.0135, allocations: 2.155 MB / 330.3 MB, free: 10.84 MB / 298.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.076311397366226]