Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001222, allocations: 201.2 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4212, allocations: 50.53 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003798/0.4251, allocations: 1.864 MB / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.4266, allocations: 0.7556 MB / 411.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.4267, allocations: 4 kB / 411.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.4269, allocations: 23.73 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.4271, allocations: 23.8 kB / 411.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.4277, allocations: 175.6 kB / 412.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.4279, allocations: 147.6 kB / 412.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.428, allocations: 57.5 kB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.4282, allocations: 67.7 kB / 412.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.4283, allocations: 55.7 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.4284, allocations: 12 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.4285, allocations: 63.94 kB / 412.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.541e-05/0.4286, allocations: 47.78 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.4286, allocations: 59.61 kB / 412.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.4289, allocations: 211.2 kB / 412.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4289, allocations: 0 / 412.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.4289, allocations: 0 / 412.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.4289, allocations: 3.938 kB / 412.8 MB, free: 14.03 MB / 334.1 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.0007399/0.4297, allocations: 480 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4297, allocations: 8.031 kB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.4299, allocations: 32.73 kB / 413.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.4304, allocations: 244 kB / 413.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.4304, allocations: 12.5 kB / 413.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4304, allocations: 12.12 kB / 413.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006803/0.4311, allocations: 337.7 kB / 413.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4311, allocations: 3.984 kB / 413.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.4312, allocations: 4 kB / 413.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.4312, allocations: 4 kB / 413.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.4314, allocations: 75.95 kB / 414 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.4319, allocations: 353.4 kB / 414.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.4323, allocations: 258.5 kB / 414.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.4325, allocations: 109.3 kB / 414.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006244/0.4332, allocations: 0.5817 MB / 415.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.4332, allocations: 34.56 kB / 415.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.864e-06/0.4332, allocations: 4 kB / 415.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005695/0.4338, allocations: 236.2 kB / 415.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/0.4339, allocations: 118.7 kB / 415.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.4341, allocations: 199.2 kB / 415.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.4341, allocations: 29.7 kB / 415.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.4342, allocations: 112.6 kB / 416 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.4342, allocations: 15.81 kB / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.4343, allocations: 41.7 kB / 416 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.4344, allocations: 326.8 kB / 416.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.4345, allocations: 35.98 kB / 416.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.4347, allocations: 165.1 kB / 416.6 MB, free: 9.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.435, allocations: 204.1 kB / 416.8 MB, free: 9.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.435, allocations: 0 / 416.8 MB, free: 9.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003549/0.4353, allocations: 221.4 kB / 417 MB, free: 9.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4354, allocations: 4 kB / 417 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4354, allocations: 8 kB / 417 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.4354, allocations: 4 kB / 417 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.4356, allocations: 43.92 kB / 417 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.4356, allocations: 15.92 kB / 417 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.4357, allocations: 15.89 kB / 417.1 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.4357, allocations: 12 kB / 417.1 MB, free: 9.227 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (22): * Single equations (assignments): 22 * 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.0001418/0.4359, allocations: 156.9 kB / 417.2 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.4362, allocations: 161.3 kB / 417.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.4365, allocations: 187.3 kB / 417.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4365, allocations: 0 / 417.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4365, allocations: 0 / 417.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4366, allocations: 4 kB / 417.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.4368, allocations: 229.5 kB / 417.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4368, allocations: 7.875 kB / 417.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.4369, allocations: 35.97 kB / 417.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.437, allocations: 4 kB / 417.8 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.437, allocations: 4 kB / 417.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.437, allocations: 0 / 417.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.437, allocations: 3.938 kB / 417.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.4374, allocations: 286.5 kB / 418.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4375, allocations: 120.8 kB / 418.2 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.4375, allocations: 7.984 kB / 418.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.4377, allocations: 12 kB / 418.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.4377, allocations: 7.969 kB / 418.3 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.4377, allocations: 4 kB / 418.3 MB, free: 7.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.4379, allocations: 148.2 kB / 418.4 MB, free: 7.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4379, allocations: 4 kB / 418.4 MB, free: 7.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.4382, allocations: 35.91 kB / 418.5 MB, free: 7.727 MB / 334.1 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.0001874/0.4384, allocations: 119.1 kB / 418.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003245/0.4387, allocations: 140.9 kB / 418.7 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4387, allocations: 4 kB / 418.7 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.493e-05/0.4388, allocations: 7.984 kB / 418.7 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.4394, allocations: 156.5 kB / 418.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006036/0.44, allocations: 325 kB / 419.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.4403, allocations: 0.74 MB / 419.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.996e-05/0.4404, allocations: 13.55 kB / 420 MB, free: 6.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.4404, allocations: 15.44 kB / 420 MB, free: 6.156 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4405, allocations: 4 kB / 420 MB, free: 6.152 MB / 334.1 MB Notification: Performance of Templates: time 0.00574/0.4462, allocations: 2.383 MB / 422.4 MB, free: 3.777 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches