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.0009283/0.0009283, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009522/0.0009522, allocations: 142.1 kB / 24.97 MB, free: 8.316 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.915/0.915, allocations: 173.3 MB / 201.5 MB, free: 9.324 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 2.084e-06/2.084e-06, allocations: 0 / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.132e-05, allocations: 6.25 kB / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003428/0.003459, allocations: 1.865 MB / 270 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004807, allocations: 0.6696 MB / 270.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.004951, allocations: 7.938 kB / 270.6 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.005115, allocations: 15.8 kB / 270.6 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.005318, allocations: 31.78 kB / 270.7 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.005938, allocations: 163.5 kB / 270.8 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.006188, allocations: 143.6 kB / 271 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.006347, allocations: 37.8 kB / 271 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.006521, allocations: 83.73 kB / 271.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.006641, allocations: 43.81 kB / 271.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.006676, allocations: 12 kB / 271.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.006795, allocations: 55.95 kB / 271.2 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.006883, allocations: 43.84 kB / 271.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.00695, allocations: 43.84 kB / 271.3 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.007242, allocations: 151.3 kB / 271.4 MB, free: 3.332 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.007244, allocations: 0 / 271.4 MB, free: 3.332 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.007245, allocations: 0 / 271.4 MB, free: 3.332 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.00725, allocations: 0 / 271.4 MB, free: 3.332 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.000719/0.007969, allocations: 495.9 kB / 271.9 MB, free: 2.812 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.008012, allocations: 12.03 kB / 271.9 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.495e-05/0.008097, allocations: 28.8 kB / 272 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.00839, allocations: 192.3 kB / 272.1 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.008416, allocations: 8.562 kB / 272.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.00844, allocations: 8.375 kB / 272.2 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.009, allocations: 295.5 kB / 272.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.00901, allocations: 0 / 272.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.009035, allocations: 4 kB / 272.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.009047, allocations: 4 kB / 272.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.679e-05/0.009144, allocations: 23.92 kB / 272.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.009567, allocations: 319.4 kB / 272.8 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.009881, allocations: 146.2 kB / 272.9 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.01, allocations: 63.28 kB / 273 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.01035, allocations: 63.94 kB / 273.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.01039, allocations: 37.39 kB / 273.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.01039, allocations: 0 / 273.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003894/0.01078, allocations: 144.5 kB / 273.2 MB, free: 1.344 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.01086, allocations: 122.7 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.01107, allocations: 237.9 kB / 273.6 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.01109, allocations: 29.7 kB / 273.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.01118, allocations: 155.3 kB / 273.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.0112, allocations: 7.953 kB / 273.8 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.01125, allocations: 31.36 kB / 273.8 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.0114, allocations: 0.4961 MB / 274.3 MB, free: 208 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.01143, allocations: 8 kB / 274.3 MB, free: 200 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.0115, allocations: 76.12 kB / 274.4 MB, free: 96 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.191e-05/0.01157, allocations: 58.72 kB / 274.4 MB, free: 20 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01157, allocations: 0 / 274.4 MB, free: 20 kB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001504/0.01172, allocations: 73.61 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01174, allocations: 4 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.01175, allocations: 7.984 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01176, allocations: 3.984 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.01186, allocations: 15.94 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.01187, allocations: 0 / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.01194, allocations: 16.06 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.01195, allocations: 4 kB / 274.6 MB, free: 15.89 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 0.0001189/0.01207, allocations: 172.5 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.01229, allocations: 120.9 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.01254, allocations: 133.8 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.01255, allocations: 3.984 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01255, allocations: 4 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01256, allocations: 0 / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.01275, allocations: 156.5 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.01275, allocations: 0 / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.0129, allocations: 39.97 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01291, allocations: 3.938 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01292, allocations: 4 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01292, allocations: 0 / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01292, allocations: 0 / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.01315, allocations: 291.3 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.0132, allocations: 31.84 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.01323, allocations: 11.98 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.01329, allocations: 4 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.01332, allocations: 8 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.01334, allocations: 8 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.937e-05/0.01342, allocations: 176.1 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01342, allocations: 0 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000175/0.01359, allocations: 27.94 kB / 275.7 MB, free: 14.64 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.000133/0.01372, allocations: 119.2 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.01386, allocations: 55.59 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01386, allocations: 0 / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.01387, allocations: 11.94 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.01425, allocations: 121.4 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.01488, allocations: 298.9 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.119e-05/0.01493, allocations: 80.06 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.01496, allocations: 13.12 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.015, allocations: 20.56 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.015, allocations: 0 / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of Templates: time 0.00403/0.01903, allocations: 2.469 MB / 278.9 MB, free: 11.41 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: 2.7996764529962093]