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.0008556/0.0008556, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008597/0.0008597, allocations: 148.1 kB / 24.89 MB, free: 8.785 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.8862/0.8862, allocations: 173.4 MB / 201.5 MB, free: 8.676 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.493e-06/1.493e-06, allocations: 0 / 268.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.845e-05, allocations: 2.312 kB / 268.5 MB, free: 6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002781/0.002799, allocations: 1.872 MB / 270.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003901, allocations: 0.6929 MB / 271 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.004003, allocations: 0 / 271 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.004138, allocations: 27.67 kB / 271.1 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.004282, allocations: 23.8 kB / 271.1 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.004755, allocations: 151.6 kB / 271.2 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.004951, allocations: 155.5 kB / 271.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.005065, allocations: 42.44 kB / 271.4 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.005199, allocations: 75.8 kB / 271.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.005296, allocations: 47.83 kB / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.005323, allocations: 12 kB / 271.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.005667, allocations: 47.95 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/0.005738, allocations: 43.84 kB / 271.7 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.005789, allocations: 47.83 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.005992, allocations: 139.5 kB / 271.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.005994, allocations: 0 / 271.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005995, allocations: 0 / 271.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.005997, allocations: 4 kB / 271.8 MB, free: 2.613 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.0004871/0.006484, allocations: 368.2 kB / 272.2 MB, free: 2.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.006516, allocations: 12.02 kB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.006563, allocations: 20.92 kB / 272.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.006771, allocations: 173.4 kB / 272.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.006789, allocations: 8.562 kB / 272.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.006809, allocations: 8.375 kB / 272.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.00717, allocations: 282.9 kB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.007179, allocations: 0 / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.007191, allocations: 8 kB / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.007197, allocations: 0 / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.007251, allocations: 34.27 kB / 272.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.007469, allocations: 183.8 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.007658, allocations: 101 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.007719, allocations: 52.64 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.007937, allocations: 51.95 kB / 273.1 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.007959, allocations: 42.56 kB / 273.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.00796, allocations: 0 / 273.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002055/0.008166, allocations: 101.6 kB / 273.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.008229, allocations: 118.8 kB / 273.4 MB, free: 0.918 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.008354, allocations: 178.4 kB / 273.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.008371, allocations: 25.7 kB / 273.6 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.008415, allocations: 104.6 kB / 273.7 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.008431, allocations: 7.891 kB / 273.7 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.008468, allocations: 25.7 kB / 273.7 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.00855, allocations: 330.9 kB / 274 MB, free: 228 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.008567, allocations: 10.83 kB / 274 MB, free: 216 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.008609, allocations: 58 kB / 274.1 MB, free: 136 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.008659, allocations: 50.66 kB / 274.1 MB, free: 68 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008661, allocations: 0 / 274.1 MB, free: 68 kB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.008761, allocations: 74.09 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.008772, allocations: 8.156 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.008777, allocations: 8 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.008788, allocations: 0 / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.00885, allocations: 19.92 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008853, allocations: 0 / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.008899, allocations: 4 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.008906, allocations: 4 kB / 274.3 MB, free: 15.94 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.492e-05/0.008991, allocations: 124.6 kB / 274.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.009104, allocations: 89.44 kB / 274.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.009244, allocations: 110.1 kB / 274.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.009249, allocations: 4 kB / 274.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.00925, allocations: 0 / 274.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.009255, allocations: 3.984 kB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.009388, allocations: 93.84 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.009395, allocations: 7.938 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.009492, allocations: 35.86 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.009498, allocations: 7.984 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.009507, allocations: 3.984 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.009509, allocations: 0 / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00951, allocations: 0 / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.789e-05/0.009588, allocations: 143.2 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.009649, allocations: 39.72 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.009675, allocations: 8 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.009755, allocations: 4 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.009777, allocations: 7.984 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.00979, allocations: 4 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.00984, allocations: 45.86 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00984, allocations: 0 / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.01007, allocations: 31.94 kB / 275 MB, free: 15.13 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.0001215/0.01019, allocations: 104.4 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.0103, allocations: 52.7 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.0103, allocations: 0 / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.01032, allocations: 8.859 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.01066, allocations: 120.3 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.01121, allocations: 333.5 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.542e-05/0.01127, allocations: 80.06 kB / 275.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.0113, allocations: 9.141 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.0115, allocations: 87.28 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0115, allocations: 3.938 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Templates: time 0.003949/0.01545, allocations: 2.588 MB / 278.4 MB, free: 11.73 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.4564911760389805]