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.001111/0.001111, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001316/0.001316, allocations: 145.7 kB / 24.89 MB, free: 8.742 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.9717/0.9717, allocations: 173.4 MB / 201.5 MB, free: 8.27 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.423e-06/1.423e-06, allocations: 0 / 268.5 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.624e-05, allocations: 6.125 kB / 268.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002749/0.002776, allocations: 1.918 MB / 270.4 MB, free: 7.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003949, allocations: 0.6709 MB / 271.1 MB, free: 7.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.004075, allocations: 8.438 kB / 271.1 MB, free: 7.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.004227, allocations: 20.27 kB / 271.1 MB, free: 7.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.004394, allocations: 24.48 kB / 271.2 MB, free: 7.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.004922, allocations: 165.8 kB / 271.3 MB, free: 6.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.005124, allocations: 155.5 kB / 271.5 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.005246, allocations: 38.45 kB / 271.5 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.005393, allocations: 80.42 kB / 271.6 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.005496, allocations: 47.81 kB / 271.6 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.005526, allocations: 13.03 kB / 271.7 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.005639, allocations: 51.95 kB / 271.7 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.005711, allocations: 47.83 kB / 271.8 MB, free: 6.527 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.005754, allocations: 40.36 kB / 271.8 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.005968, allocations: 148.1 kB / 271.9 MB, free: 6.344 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.00597, allocations: 4 kB / 271.9 MB, free: 6.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005971, allocations: 0.5 kB / 271.9 MB, free: 6.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005975, allocations: 4 kB / 271.9 MB, free: 6.336 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.0004945/0.00647, allocations: 364.3 kB / 272.3 MB, free: 5.957 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.006507, allocations: 8.031 kB / 272.3 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.00655, allocations: 20.92 kB / 272.3 MB, free: 5.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.006753, allocations: 178.4 kB / 272.5 MB, free: 5.73 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.00677, allocations: 4.562 kB / 272.5 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.006783, allocations: 8.375 kB / 272.5 MB, free: 5.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.007111, allocations: 284.8 kB / 272.8 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.007118, allocations: 0 / 272.8 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.00713, allocations: 4 kB / 272.8 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.007136, allocations: 0 / 272.8 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.37e-05/0.00718, allocations: 34.69 kB / 272.8 MB, free: 5.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.00741, allocations: 183.9 kB / 273 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.007585, allocations: 104.7 kB / 273.1 MB, free: 5.051 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.007629, allocations: 37.77 kB / 273.2 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.007832, allocations: 59.94 kB / 273.2 MB, free: 4.949 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.007855, allocations: 38.55 kB / 273.2 MB, free: 4.902 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.007857, allocations: 0 / 273.2 MB, free: 4.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001857/0.008043, allocations: 108 kB / 273.4 MB, free: 4.793 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.008105, allocations: 118.8 kB / 273.5 MB, free: 4.652 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.008205, allocations: 174.5 kB / 273.6 MB, free: 4.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.008219, allocations: 25.7 kB / 273.7 MB, free: 4.438 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.008256, allocations: 100.6 kB / 273.8 MB, free: 4.336 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.008275, allocations: 15.88 kB / 273.8 MB, free: 4.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.008307, allocations: 21.72 kB / 273.8 MB, free: 4.293 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.008389, allocations: 330.9 kB / 274.1 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.00841, allocations: 6.828 kB / 274.1 MB, free: 3.953 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.12e-05/0.008451, allocations: 69.91 kB / 274.2 MB, free: 3.863 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.008503, allocations: 50.67 kB / 274.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.008506, allocations: 0 / 274.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.017e-05/0.008586, allocations: 66.27 kB / 274.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.0086, allocations: 12 kB / 274.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.008605, allocations: 0 / 274.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.008616, allocations: 3.984 kB / 274.3 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.008679, allocations: 12 kB / 274.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.008683, allocations: 0 / 274.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.008721, allocations: 7.938 kB / 274.3 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.008729, allocations: 7.984 kB / 274.4 MB, free: 3.68 MB / 250.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.241e-05/0.008821, allocations: 132.5 kB / 274.5 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.008914, allocations: 85.56 kB / 274.6 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.009044, allocations: 115.2 kB / 274.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.009049, allocations: 4 kB / 274.7 MB, free: 3.324 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.00905, allocations: 0 / 274.7 MB, free: 3.324 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.009054, allocations: 0 / 274.7 MB, free: 3.324 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.009168, allocations: 101.8 kB / 274.8 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.009174, allocations: 7.922 kB / 274.8 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.009254, allocations: 31.98 kB / 274.8 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.009256, allocations: 0 / 274.8 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.009266, allocations: 4 kB / 274.8 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.009267, allocations: 0 / 274.8 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.009269, allocations: 0 / 274.8 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.009371, allocations: 149.8 kB / 275 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.009434, allocations: 35.72 kB / 275 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.009454, allocations: 11.98 kB / 275 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.445e-05/0.009509, allocations: 4 kB / 275 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.009535, allocations: 4 kB / 275 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.009547, allocations: 4 kB / 275 MB, free: 2.941 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.009589, allocations: 57.83 kB / 275.1 MB, free: 2.883 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009589, allocations: 0 / 275.1 MB, free: 2.883 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000162/0.009751, allocations: 28 kB / 275.1 MB, free: 2.855 MB / 250.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.0001375/0.009889, allocations: 104.4 kB / 275.2 MB, free: 2.746 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.009996, allocations: 40.84 kB / 275.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.01, allocations: 4 kB / 275.3 MB, free: 2.699 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.01001, allocations: 8.797 kB / 275.3 MB, free: 2.688 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.01035, allocations: 120.2 kB / 275.4 MB, free: 2.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.01089, allocations: 336.3 kB / 275.7 MB, free: 2.203 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.574e-05/0.01094, allocations: 83.91 kB / 275.8 MB, free: 2.098 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.138e-05/0.01099, allocations: 17.12 kB / 275.8 MB, free: 2.082 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.01109, allocations: 79.36 kB / 275.9 MB, free: 2.004 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01109, allocations: 3.938 kB / 275.9 MB, free: 2 MB / 250.7 MB Notification: Performance of Templates: time 0.005027/0.01611, allocations: 2.59 MB / 278.5 MB, free: 15.46 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 -s gbode -gbm=radauIIA3 -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.677038713824004]