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.001846/0.001846, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001651/0.001651, allocations: 141.1 kB / 24.54 MB, free: 36 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.014/1.014, allocations: 173.3 MB / 201.1 MB, free: 9.34 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.924e-06/1.924e-06, allocations: 3.938 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.961e-05, allocations: 2.312 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002761/0.002791, allocations: 1.876 MB / 269.9 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.003729, allocations: 0.6735 MB / 270.6 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.642e-05/0.003826, allocations: 7.938 kB / 270.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.00395, allocations: 15.8 kB / 270.6 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.00409, allocations: 23.8 kB / 270.6 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.004538, allocations: 167.4 kB / 270.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.004717, allocations: 143.6 kB / 270.9 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.00483, allocations: 37.78 kB / 270.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.004953, allocations: 87.73 kB / 271 MB, free: 3.379 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-05/0.005041, allocations: 39.83 kB / 271.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.005065, allocations: 12 kB / 271.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.005155, allocations: 51.95 kB / 271.1 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.005239, allocations: 43.84 kB / 271.2 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.005288, allocations: 43.83 kB / 271.2 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.005498, allocations: 151.4 kB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005501, allocations: 4 kB / 271.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.005502, allocations: 0 / 271.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.005507, allocations: 0 / 271.4 MB, free: 3.039 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.0005335/0.006041, allocations: 495.9 kB / 271.8 MB, free: 2.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.006076, allocations: 8.031 kB / 271.9 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.006133, allocations: 32.8 kB / 271.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.00636, allocations: 188.3 kB / 272.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.006381, allocations: 8.562 kB / 272.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.006399, allocations: 12.38 kB / 272.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.006817, allocations: 291.5 kB / 272.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.006826, allocations: 4 kB / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.006838, allocations: 0 / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006845, allocations: 3.984 kB / 272.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.492e-05/0.00691, allocations: 31.92 kB / 272.4 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.007218, allocations: 315.4 kB / 272.7 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.007458, allocations: 142.3 kB / 272.9 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.007535, allocations: 59.41 kB / 272.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/0.007788, allocations: 63.94 kB / 273 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.007809, allocations: 33.39 kB / 273 MB, free: 1.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.007811, allocations: 3.938 kB / 273 MB, free: 1.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002526/0.008063, allocations: 144.5 kB / 273.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.00813, allocations: 122.8 kB / 273.3 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.008267, allocations: 237.7 kB / 273.5 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.008281, allocations: 25.7 kB / 273.5 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.008346, allocations: 155.4 kB / 273.7 MB, free: 484 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.008363, allocations: 11.95 kB / 273.7 MB, free: 472 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.008405, allocations: 35.36 kB / 273.7 MB, free: 428 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.008543, allocations: 0.4961 MB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.008562, allocations: 4 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.354e-05/0.008615, allocations: 80.12 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.008665, allocations: 50.69 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008667, allocations: 0 / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.765e-05/0.008754, allocations: 81.56 kB / 274.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.008767, allocations: 4 kB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.008771, allocations: 0 / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.008783, allocations: 4 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.008846, allocations: 15.92 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.008853, allocations: 4 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.008886, allocations: 4 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.008891, allocations: 0 / 274.5 MB, free: 15.62 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 8.849e-05/0.00898, allocations: 184.6 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.009106, allocations: 117.4 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.009279, allocations: 137.8 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.009281, allocations: 0 / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.009284, allocations: 0 / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.009289, allocations: 7.984 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.009417, allocations: 156.5 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.009423, allocations: 0 / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.009509, allocations: 31.92 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.009511, allocations: 0 / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.009522, allocations: 11.98 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.009524, allocations: 4 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.009527, allocations: 3.984 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.009717, allocations: 287.3 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.009773, allocations: 35.83 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.0098, allocations: 8 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.678e-05/0.009857, allocations: 7.984 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.009882, allocations: 0 / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.009895, allocations: 8 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.009977, allocations: 176.2 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009977, allocations: 4 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.01015, allocations: 27.94 kB / 275.7 MB, free: 14.35 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.0001366/0.01029, allocations: 122.7 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.0105, allocations: 55.59 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01051, allocations: 0 / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.01052, allocations: 11.62 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.01087, allocations: 128.5 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.01145, allocations: 306 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.01149, allocations: 84.06 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.766e-05/0.01152, allocations: 9.141 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.01155, allocations: 16.5 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01156, allocations: 0 / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of Templates: time 0.004388/0.01594, allocations: 2.47 MB / 278.8 MB, free: 11.12 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] 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","",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.0539397136308253]