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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007504/0.0007504, allocations: 91.25 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007931/0.0007931, allocations: 181.6 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002238/0.0002239, allocations: 7.938 kB / 302.1 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07356/0.0738, allocations: 50.4 MB / 352.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.001825/0.07564, allocations: 1.553 MB / 354.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.07672, allocations: 0.6701 MB / 354.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.837e-05/0.07684, allocations: 4 kB / 354.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.07695, allocations: 11.86 kB / 354.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.07708, allocations: 19.86 kB / 354.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.07754, allocations: 143 kB / 354.9 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.07772, allocations: 131.7 kB / 355 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.07786, allocations: 61.34 kB / 355.1 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/0.07795, allocations: 43.72 kB / 355.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.07807, allocations: 51.7 kB / 355.2 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.0781, allocations: 4 kB / 355.2 MB, free: 1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.07819, allocations: 39.97 kB / 355.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.07827, allocations: 39.77 kB / 355.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.07834, allocations: 81.25 kB / 355.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.07851, allocations: 139.7 kB / 355.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.07852, allocations: 0 / 355.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.07853, allocations: 0 / 355.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.07854, allocations: 4 kB / 355.5 MB, free: 0.6953 MB / 286.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.0005977/0.07914, allocations: 455.2 kB / 355.9 MB, free: 208 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.07918, allocations: 12.03 kB / 355.9 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.07924, allocations: 16.75 kB / 356 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.07949, allocations: 240 kB / 356.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.07952, allocations: 8.562 kB / 356.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.07955, allocations: 12.06 kB / 356.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.08022, allocations: 341.2 kB / 356.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.08024, allocations: 0 / 356.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.08027, allocations: 4 kB / 356.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.08028, allocations: 0 / 356.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.08055, allocations: 107.9 kB / 356.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.08091, allocations: 341.5 kB / 357 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.08141, allocations: 286.3 kB / 357.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.08162, allocations: 109.6 kB / 357.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/0.08221, allocations: 0.5817 MB / 357.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.08224, allocations: 34.56 kB / 358 MB, free: 13.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.08225, allocations: 4 kB / 358 MB, free: 13.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006067/0.08286, allocations: 253.5 kB / 358.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.08295, allocations: 126.6 kB / 358.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.08313, allocations: 191.3 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.08316, allocations: 29.7 kB / 358.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.08322, allocations: 100.6 kB / 358.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.08325, allocations: 15.89 kB / 358.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.08329, allocations: 25.66 kB / 358.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.08339, allocations: 338.8 kB / 359 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.08349, allocations: 44 kB / 359.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.08365, allocations: 165.2 kB / 359.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.08389, allocations: 204.1 kB / 359.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.08391, allocations: 8 kB / 359.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000342/0.08426, allocations: 221.4 kB / 359.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.08428, allocations: 8 kB / 359.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.0843, allocations: 7.984 kB / 359.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.08431, allocations: 8 kB / 359.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.08447, allocations: 39.92 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.08448, allocations: 7.984 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.08461, allocations: 23.84 kB / 359.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.08463, allocations: 8 kB / 359.8 MB, free: 11.87 MB / 302.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.0001207/0.08476, allocations: 149.9 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.08509, allocations: 171.9 kB / 360.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.08548, allocations: 191.4 kB / 360.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.08549, allocations: 0 / 360.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.0855, allocations: 0 / 360.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.08551, allocations: 4 kB / 360.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.08572, allocations: 225.5 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.08574, allocations: 4 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.0859, allocations: 39.84 kB / 360.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.08591, allocations: 4 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.08593, allocations: 4 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.08594, allocations: 4 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.08594, allocations: 3.938 kB / 360.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.08636, allocations: 296 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.912e-05/0.08646, allocations: 120.7 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.0865, allocations: 15.92 kB / 361 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.08665, allocations: 12 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.08669, allocations: 3.984 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.08671, allocations: 4 kB / 361 MB, free: 10.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.08683, allocations: 151.4 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.08684, allocations: 0 / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.08717, allocations: 28 kB / 361.2 MB, free: 10.36 MB / 302.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.0001502/0.08732, allocations: 127.1 kB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.08766, allocations: 151.8 kB / 361.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.08767, allocations: 0 / 361.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.439e-05/0.08772, allocations: 11.98 kB / 361.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.08832, allocations: 165.6 kB / 361.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.08893, allocations: 416.6 kB / 362 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.08919, allocations: 0.7324 MB / 362.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.08924, allocations: 19.42 kB / 362.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.08925, allocations: 4 kB / 362.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of Templates: time 0.003814/0.09306, allocations: 2.199 MB / 365 MB, free: 6.477 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches