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.001213/0.001213, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001307/0.001307, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.074/1.074, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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 2.114e-06/2.114e-06, allocations: 0 / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.662e-05, allocations: 2.312 kB / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002732/0.002769, allocations: 1.895 MB / 274.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003876, allocations: 0.7281 MB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.004, allocations: 7.938 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.004159, allocations: 15.8 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.004341, allocations: 27.8 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.004876, allocations: 175.4 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.005078, allocations: 155.5 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.005201, allocations: 33.8 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.005374, allocations: 83.8 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.00547, allocations: 47.81 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.005497, allocations: 12 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-05/0.005591, allocations: 63.94 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.005749, allocations: 35.86 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.005802, allocations: 47.83 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.006029, allocations: 151.4 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.006032, allocations: 0 / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006033, allocations: 0 / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.006038, allocations: 0 / 276.5 MB, free: 14 MB / 266.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.0005571/0.006595, allocations: 499.9 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.006636, allocations: 12.03 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.006784, allocations: 40.78 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.007016, allocations: 188.4 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.007036, allocations: 8.562 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.007054, allocations: 12.38 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.007479, allocations: 285.2 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.007489, allocations: 4 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.007503, allocations: 7.938 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.007514, allocations: 3.938 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.689e-05/0.007581, allocations: 34.52 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.007909, allocations: 319.3 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.008139, allocations: 134 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.008217, allocations: 59.41 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.008452, allocations: 64.22 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.008477, allocations: 41.33 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.255e-06/0.008479, allocations: 3.984 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002646/0.008743, allocations: 158.9 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.008805, allocations: 118.8 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.008933, allocations: 241.4 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.008946, allocations: 25.7 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.009004, allocations: 155.4 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.009021, allocations: 7.938 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.009057, allocations: 35.33 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.009164, allocations: 0.4961 MB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.009183, allocations: 4 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/0.009232, allocations: 84.12 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.009281, allocations: 54.84 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009284, allocations: 0 / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.943e-05/0.009373, allocations: 77.52 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.00939, allocations: 15.92 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.009395, allocations: 0 / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.00941, allocations: 0 / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.009472, allocations: 16.12 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.009478, allocations: 160 / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.009515, allocations: 7.953 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.009521, allocations: 7.984 kB / 279.6 MB, free: 10.53 MB / 266.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 9.517e-05/0.009617, allocations: 175.7 kB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.009746, allocations: 111.9 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.009924, allocations: 135.3 kB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.009928, allocations: 4 kB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.009932, allocations: 0 / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.009935, allocations: 0 / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.01006, allocations: 164.5 kB / 280.2 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.01007, allocations: 4 kB / 280.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.777e-05/0.01015, allocations: 31.91 kB / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01015, allocations: 0 / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01016, allocations: 8 kB / 280.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01016, allocations: 0 / 280.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01016, allocations: 0 / 280.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.01035, allocations: 298.5 kB / 280.5 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.0104, allocations: 39.78 kB / 280.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.01043, allocations: 11.98 kB / 280.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.01049, allocations: 8 kB / 280.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.01053, allocations: 0 / 280.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.01055, allocations: 11.98 kB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.625e-05/0.01062, allocations: 164.4 kB / 280.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01062, allocations: 0 / 280.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.01081, allocations: 31.98 kB / 280.8 MB, free: 9.285 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.000154/0.01096, allocations: 107.2 kB / 280.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.01111, allocations: 59.72 kB / 281 MB, free: 9.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01111, allocations: 4.062 kB / 281 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.01112, allocations: 11.69 kB / 281 MB, free: 9.086 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.01151, allocations: 129.4 kB / 281.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.01212, allocations: 314.8 kB / 281.4 MB, free: 8.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.01e-05/0.01217, allocations: 84.05 kB / 281.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.01221, allocations: 9.219 kB / 281.5 MB, free: 8.496 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.01225, allocations: 20.48 kB / 281.5 MB, free: 8.477 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01225, allocations: 0 / 281.5 MB, free: 8.477 MB / 266.7 MB Notification: Performance of Templates: time 0.004645/0.01689, allocations: 2.446 MB / 284 MB, free: 6.059 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2612409400753677]