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.001575/0.001575, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2636, allocations: 50.55 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003065/0.2667, allocations: 1.854 MB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.2681, allocations: 0.7516 MB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.2682, allocations: 4 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.2684, allocations: 23.73 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.2686, allocations: 23.8 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.2692, allocations: 167.6 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.2694, allocations: 151.6 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.2696, allocations: 65.44 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.2697, allocations: 63.72 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.2698, allocations: 63.62 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.2699, allocations: 16 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.27, allocations: 51.95 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.378e-05/0.2701, allocations: 43.84 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.2702, allocations: 71.53 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.2705, allocations: 203.3 kB / 413.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2705, allocations: 3.938 kB / 413.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2705, allocations: 0 / 413.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2705, allocations: 4 kB / 413.5 MB, free: 14 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.0007093/0.2712, allocations: 479.9 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2713, allocations: 8.031 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.2714, allocations: 24.75 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.2718, allocations: 255.9 kB / 414.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2718, allocations: 8.562 kB / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.2718, allocations: 12.12 kB / 414.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.2725, allocations: 329.6 kB / 414.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2725, allocations: 3.938 kB / 414.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.2726, allocations: 4 kB / 414.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.2726, allocations: 4 kB / 414.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.2728, allocations: 83.94 kB / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.2732, allocations: 345.5 kB / 415 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.2737, allocations: 266.1 kB / 415.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.2739, allocations: 105.6 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005996/0.2745, allocations: 0.5817 MB / 416 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.2745, allocations: 38.56 kB / 416 MB, free: 11.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.2745, allocations: 0 / 416 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005894/0.2751, allocations: 233.2 kB / 416.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.191e-05/0.2752, allocations: 126.8 kB / 416.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.2754, allocations: 195.2 kB / 416.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.2755, allocations: 25.7 kB / 416.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.2755, allocations: 108.5 kB / 416.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.2756, allocations: 19.8 kB / 416.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.2756, allocations: 41.7 kB / 416.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2758, allocations: 326.8 kB / 417 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.2759, allocations: 43.97 kB / 417.1 MB, free: 10 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.276, allocations: 163.5 kB / 417.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.2763, allocations: 204.1 kB / 417.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2763, allocations: 3.938 kB / 417.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003211/0.2766, allocations: 217 kB / 417.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2766, allocations: 8 kB / 417.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2766, allocations: 4 kB / 417.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2767, allocations: 4.594 kB / 417.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.2769, allocations: 43.92 kB / 417.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.2769, allocations: 15.92 kB / 417.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.2771, allocations: 15.91 kB / 417.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.2771, allocations: 8 kB / 417.8 MB, free: 9.203 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.0001898/0.2773, allocations: 160.7 kB / 417.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.2776, allocations: 164.4 kB / 418.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.278, allocations: 191.3 kB / 418.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.278, allocations: 0 / 418.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2781, allocations: 4 kB / 418.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.2781, allocations: 3.984 kB / 418.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.2783, allocations: 221.5 kB / 418.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.2783, allocations: 7.922 kB / 418.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.2785, allocations: 27.98 kB / 418.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2785, allocations: 0 / 418.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2785, allocations: 8 kB / 418.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2785, allocations: 0 / 418.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2785, allocations: 4 kB / 418.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.2789, allocations: 288 kB / 418.8 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.279, allocations: 120.8 kB / 418.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.2791, allocations: 12 kB / 418.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2792, allocations: 11.98 kB / 419 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.2792, allocations: 0 / 419 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.2793, allocations: 8 kB / 419 MB, free: 7.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2794, allocations: 144.2 kB / 419.1 MB, free: 7.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2794, allocations: 0 / 419.1 MB, free: 7.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003437/0.2797, allocations: 39.91 kB / 419.1 MB, free: 7.707 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.0001816/0.2799, allocations: 111.2 kB / 419.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003431/0.2803, allocations: 151.7 kB / 419.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2803, allocations: 0 / 419.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.2803, allocations: 4 kB / 419.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.281, allocations: 162.7 kB / 419.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.2816, allocations: 362.2 kB / 419.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.2819, allocations: 0.736 MB / 420.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.282, allocations: 23.38 kB / 420.7 MB, free: 6.105 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.282, allocations: 0 / 420.7 MB, free: 6.105 MB / 334.1 MB Notification: Performance of Templates: time 0.004223/0.2862, allocations: 2.264 MB / 422.9 MB, free: 3.844 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/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches