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.001728/0.001728, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002065/0.002065, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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 1.547/1.547, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.874e-06/1.874e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.073e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003803/0.003834, allocations: 1.844 MB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.005526, allocations: 0.7009 MB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.005673, allocations: 3.938 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.005846, allocations: 27.73 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.006043, allocations: 23.8 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.006729, allocations: 171.5 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.00701, allocations: 159.5 kB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.007161, allocations: 41.7 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.007399, allocations: 83.8 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.007523, allocations: 47.81 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.00756, allocations: 12 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.007685, allocations: 51.97 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.645e-05/0.007782, allocations: 43.83 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.00786, allocations: 43.84 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.008246, allocations: 223.2 kB / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.00825, allocations: 0 / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.008251, allocations: 0 / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.008257, allocations: 0 / 275.8 MB, free: 14.33 MB / 266.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.0008869/0.009144, allocations: 405.6 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.00918, allocations: 12.03 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.009399, allocations: 36.8 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.009801, allocations: 197.5 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.009823, allocations: 8.562 kB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.009846, allocations: 8.375 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.01064, allocations: 345.5 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.01065, allocations: 0 / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.01067, allocations: 8 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.01068, allocations: 0 / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.01094, allocations: 83.88 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.01138, allocations: 265.3 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.0119, allocations: 185 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.01211, allocations: 89.73 kB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000418/0.01253, allocations: 55.94 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.01257, allocations: 46.72 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.01257, allocations: 4 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006836/0.01325, allocations: 243 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.01337, allocations: 110.8 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.0136, allocations: 198.3 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.01364, allocations: 33.7 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/0.01373, allocations: 108.6 kB / 278.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.01375, allocations: 8.078 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.0138, allocations: 29.66 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.01399, allocations: 330.8 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.01406, allocations: 19.98 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.0142, allocations: 93.95 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01434, allocations: 63.36 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01434, allocations: 4.031 kB / 278.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002332/0.01457, allocations: 117.5 kB / 278.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.01459, allocations: 4 kB / 278.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01459, allocations: 0 / 278.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01461, allocations: 4 kB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.0147, allocations: 15.98 kB / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.01471, allocations: 0 / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.01479, allocations: 11.94 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.0148, allocations: 16.06 kB / 278.9 MB, free: 10.98 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.0001551/0.01496, allocations: 141.7 kB / 279 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.01532, allocations: 169.5 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.01572, allocations: 174.1 kB / 279.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.01573, allocations: 4 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01573, allocations: 0 / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01573, allocations: 0 / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.01595, allocations: 161.1 kB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.01597, allocations: 3.984 kB / 279.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.01613, allocations: 35.92 kB / 279.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01613, allocations: 0 / 279.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.01615, allocations: 4 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01615, allocations: 0 / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.01615, allocations: 3.984 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.01665, allocations: 291.4 kB / 279.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/0.01674, allocations: 47.77 kB / 279.9 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.01678, allocations: 11.98 kB / 279.9 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.01691, allocations: 8 kB / 279.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.01696, allocations: 7.984 kB / 279.9 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.01698, allocations: 4 kB / 279.9 MB, free: 9.871 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.01713, allocations: 144.5 kB / 280.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01713, allocations: 0 / 280.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.01742, allocations: 27.95 kB / 280.1 MB, free: 9.703 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.0002018/0.01762, allocations: 119.2 kB / 280.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.01793, allocations: 91.89 kB / 280.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01793, allocations: 3.938 kB / 280.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.01797, allocations: 7.984 kB / 280.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.01862, allocations: 153.4 kB / 280.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.01937, allocations: 338.7 kB / 280.8 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.01953, allocations: 123.7 kB / 280.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.45e-05/0.01958, allocations: 13.14 kB / 280.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.01963, allocations: 16.5 kB / 280.9 MB, free: 8.781 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01963, allocations: 0 / 280.9 MB, free: 8.781 MB / 266.7 MB Notification: Performance of Templates: time 0.006701/0.02633, allocations: 2.448 MB / 283.4 MB, free: 6.363 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.465919101960026]