Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.396/1.396, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 55.91 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2701, allocations: 50.55 MB / 410.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003148/0.2732, allocations: 1.881 MB / 412.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2747, allocations: 0.7516 MB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.2748, allocations: 4 kB / 412.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.2749, allocations: 23.72 kB / 412.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.275, allocations: 27.8 kB / 412.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.2756, allocations: 159.6 kB / 413.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.2758, allocations: 151.6 kB / 413.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2759, allocations: 53.44 kB / 413.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.276, allocations: 59.72 kB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.2761, allocations: 59.7 kB / 413.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.2762, allocations: 16 kB / 413.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2763, allocations: 59.94 kB / 413.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.2764, allocations: 43.78 kB / 413.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.2764, allocations: 67.61 kB / 413.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.2767, allocations: 202.8 kB / 413.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2767, allocations: 4 kB / 413.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2767, allocations: 0 / 413.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.2767, allocations: 0 / 413.8 MB, free: 13.87 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.0007413/0.2775, allocations: 486.7 kB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2775, allocations: 11.97 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.2777, allocations: 32.78 kB / 414.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.278, allocations: 248.2 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.278, allocations: 4.562 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.278, allocations: 16.06 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.2787, allocations: 326.3 kB / 414.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2787, allocations: 0 / 414.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.2787, allocations: 4 kB / 414.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2788, allocations: 3.984 kB / 414.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.279, allocations: 75.95 kB / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.2794, allocations: 353.5 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.2799, allocations: 254.5 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.2801, allocations: 93.67 kB / 415.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006742/0.2808, allocations: 0.5895 MB / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2808, allocations: 34.56 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.2808, allocations: 0 / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.000631/0.2815, allocations: 253.2 kB / 416.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.2815, allocations: 118.2 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.2817, allocations: 195.2 kB / 416.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.2818, allocations: 25.7 kB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.2818, allocations: 108.6 kB / 416.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.2819, allocations: 15.91 kB / 416.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.2819, allocations: 41.83 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2821, allocations: 330.8 kB / 417.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.2822, allocations: 31.98 kB / 417.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.2824, allocations: 170.6 kB / 417.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.2826, allocations: 204.1 kB / 417.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2826, allocations: 8 kB / 417.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003491/0.283, allocations: 213.6 kB / 417.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.283, allocations: 12.03 kB / 417.9 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.283, allocations: 4 kB / 417.9 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.283, allocations: 8 kB / 417.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2832, allocations: 39.92 kB / 418 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2832, allocations: 7.938 kB / 418 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2833, allocations: 23.88 kB / 418 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.2833, allocations: 12 kB / 418 MB, free: 9.059 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.0001517/0.2835, allocations: 153.6 kB / 418.2 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.2838, allocations: 165.4 kB / 418.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.2842, allocations: 179.3 kB / 418.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2842, allocations: 4 kB / 418.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2842, allocations: 0 / 418.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2842, allocations: 0 / 418.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.2844, allocations: 233.5 kB / 418.7 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.2844, allocations: 7.938 kB / 418.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.2846, allocations: 35.97 kB / 418.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2846, allocations: 0 / 418.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2846, allocations: 4 kB / 418.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2846, allocations: 4 kB / 418.8 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2846, allocations: 3.938 kB / 418.8 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.285, allocations: 280.2 kB / 419.1 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.2851, allocations: 116.9 kB / 419.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.2852, allocations: 7.984 kB / 419.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2853, allocations: 12 kB / 419.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.2853, allocations: 0 / 419.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2854, allocations: 7.984 kB / 419.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.2855, allocations: 148.2 kB / 419.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2855, allocations: 0 / 419.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.2858, allocations: 31.94 kB / 419.4 MB, free: 7.578 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.0001767/0.286, allocations: 131 kB / 419.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.2863, allocations: 136.8 kB / 419.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2863, allocations: 0 / 419.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.2863, allocations: 16.17 kB / 419.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.2869, allocations: 156.5 kB / 419.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.2875, allocations: 332.6 kB / 420.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.2879, allocations: 0.7362 MB / 420.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.288, allocations: 13.55 kB / 420.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.288, allocations: 19.44 kB / 420.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.288, allocations: 0 / 420.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of Templates: time 0.005683/0.2937, allocations: 2.399 MB / 423.3 MB, free: 3.617 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches