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.001049/0.001049, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.00109/0.00109, allocations: 167.4 kB / 25.61 MB, free: 8.496 MB / 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 0.903/0.903, allocations: 177.1 MB / 206 MB, free: 4.473 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 1.803e-06/1.803e-06, allocations: 0 / 274.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.155e-05, allocations: 7.469 kB / 274.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.00238/0.002401, allocations: 1.88 MB / 276.1 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.00342, allocations: 0.7262 MB / 276.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.003501, allocations: 7.938 kB / 276.8 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.902e-05/0.00359, allocations: 24.3 kB / 276.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.691e-05/0.003687, allocations: 29.3 kB / 276.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.004059, allocations: 168.5 kB / 277 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.004212, allocations: 147.5 kB / 277.2 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.004301, allocations: 50.33 kB / 277.2 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.004424, allocations: 83.8 kB / 277.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.004497, allocations: 41.52 kB / 277.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.004516, allocations: 12 kB / 277.4 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.004595, allocations: 55.95 kB / 277.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.004651, allocations: 47.83 kB / 277.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.004689, allocations: 40.58 kB / 277.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.004863, allocations: 155.4 kB / 277.7 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004864, allocations: 4 kB / 277.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004865, allocations: 0 / 277.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004868, allocations: 0 / 277.7 MB, free: 1.059 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.0004054/0.005274, allocations: 496 kB / 278.1 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.323e-05/0.005297, allocations: 11.97 kB / 278.2 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.567e-05/0.005393, allocations: 36.78 kB / 278.2 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.005553, allocations: 197 kB / 278.4 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.005567, allocations: 8.562 kB / 278.4 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.005581, allocations: 16.36 kB / 278.4 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.005865, allocations: 271.8 kB / 278.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-06/0.00587, allocations: 4 kB / 278.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.005878, allocations: 0 / 278.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.005882, allocations: 0 / 278.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.005923, allocations: 27.91 kB / 278.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.006129, allocations: 291.9 kB / 279 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.006286, allocations: 122 kB / 279.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.006337, allocations: 55.41 kB / 279.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.006516, allocations: 56.22 kB / 279.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.006535, allocations: 41.33 kB / 279.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.006537, allocations: 0 / 279.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001751/0.006712, allocations: 135.7 kB / 279.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.006762, allocations: 114.8 kB / 279.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.006869, allocations: 241.3 kB / 279.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.006884, allocations: 25.7 kB / 279.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.006939, allocations: 159.4 kB / 279.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.006953, allocations: 15.92 kB / 279.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.00699, allocations: 31.33 kB / 280 MB, free: 14.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.007102, allocations: 0.4961 MB / 280.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.007115, allocations: 11.97 kB / 280.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.007155, allocations: 72.14 kB / 280.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.007195, allocations: 50.67 kB / 280.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007196, allocations: 4.031 kB / 280.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.259e-05/0.007268, allocations: 73.52 kB / 280.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.007276, allocations: 4 kB / 280.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.00728, allocations: 4 kB / 280.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/0.007284, allocations: 0 / 280.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.007327, allocations: 16 kB / 280.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.007329, allocations: 3.984 kB / 280.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.007361, allocations: 4 kB / 280.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.007365, allocations: 0 / 280.7 MB, free: 13.71 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 7.981e-05/0.007445, allocations: 183.4 kB / 280.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.00755, allocations: 113.4 kB / 281 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.007677, allocations: 113.3 kB / 281.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007679, allocations: 4 kB / 281.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.00768, allocations: 0 / 281.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007683, allocations: 0 / 281.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.007797, allocations: 149 kB / 281.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.007801, allocations: 4 kB / 281.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.007869, allocations: 31.92 kB / 281.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.00787, allocations: 4 kB / 281.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.007878, allocations: 8 kB / 281.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.007879, allocations: 0 / 281.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00788, allocations: 0 / 281.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.973e-05/0.00797, allocations: 203.5 kB / 281.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.008019, allocations: 43.75 kB / 281.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.008039, allocations: 8 kB / 281.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.711e-05/0.008096, allocations: 8 kB / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.008111, allocations: 3.984 kB / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.008122, allocations: 4 kB / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.99e-05/0.008192, allocations: 176.1 kB / 281.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008192, allocations: 0 / 281.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.008369, allocations: 28 kB / 281.8 MB, free: 12.59 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 9.564e-05/0.008464, allocations: 111.2 kB / 281.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.816e-05/0.008553, allocations: 51.52 kB / 281.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.92e-07/0.008553, allocations: 0 / 281.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.197e-06/0.008563, allocations: 7.688 kB / 281.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.008883, allocations: 125.8 kB / 282 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.009324, allocations: 306.7 kB / 282.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.009372, allocations: 84.05 kB / 282.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.799e-05/0.0094, allocations: 9.141 kB / 282.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/0.009494, allocations: 102.2 kB / 282.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009495, allocations: 0 / 282.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of Templates: time 0.004038/0.01353, allocations: 2.696 MB / 285.2 MB, free: 9.066 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: 2.6935337502509356]