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.0013/0.0013, allocations: 111.1 kB / 17.74 MB, free: 5.332 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.001303/0.001303, allocations: 188.2 kB / 18.67 MB, free: 4.406 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.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 43.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3368, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003465/0.3403, allocations: 1.857 MB / 403.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3417, allocations: 0.6893 MB / 403.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.3419, allocations: 4 kB / 404 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.342, allocations: 19.73 kB / 404 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.3422, allocations: 27.78 kB / 404 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.3428, allocations: 153.7 kB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.3431, allocations: 143.6 kB / 404.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.3433, allocations: 61.5 kB / 404.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.3434, allocations: 55.78 kB / 404.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3435, allocations: 59.7 kB / 404.5 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.792e-05/0.3436, allocations: 12 kB / 404.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3437, allocations: 63.83 kB / 404.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.3438, allocations: 43.84 kB / 404.6 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/0.3439, allocations: 71.53 kB / 404.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.3441, allocations: 195.3 kB / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3442, allocations: 0 / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3442, allocations: 0 / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3442, allocations: 0 / 404.8 MB, free: 5.434 MB / 318.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.0007991/0.345, allocations: 475 kB / 405.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.345, allocations: 19.88 kB / 405.3 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.3451, allocations: 24.66 kB / 405.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.3456, allocations: 248 kB / 405.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3456, allocations: 4.562 kB / 405.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3456, allocations: 12.12 kB / 405.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007165/0.3463, allocations: 328 kB / 405.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3464, allocations: 4 kB / 405.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.3464, allocations: 0 / 405.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3464, allocations: 4 kB / 405.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.3467, allocations: 79.94 kB / 406 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.3471, allocations: 349.4 kB / 406.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.3476, allocations: 270.4 kB / 406.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.3478, allocations: 101.7 kB / 406.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.3485, allocations: 0.5856 MB / 407.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3486, allocations: 38.56 kB / 407.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.3486, allocations: 0 / 407.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006327/0.3492, allocations: 237.2 kB / 407.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.3493, allocations: 118.7 kB / 407.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.3496, allocations: 198.2 kB / 407.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3496, allocations: 29.7 kB / 407.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.3497, allocations: 108.5 kB / 408 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3497, allocations: 11.91 kB / 408 MB, free: 1.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.3498, allocations: 37.7 kB / 408.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.35, allocations: 338.9 kB / 408.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.3501, allocations: 35.92 kB / 408.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.3503, allocations: 165.1 kB / 408.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.3505, allocations: 200.1 kB / 408.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3505, allocations: 4 kB / 408.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000337/0.3509, allocations: 220.9 kB / 409 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3509, allocations: 12.53 kB / 409 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3509, allocations: 8 kB / 409 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3509, allocations: 8 kB / 409 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3511, allocations: 39.92 kB / 409.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3511, allocations: 4 kB / 409.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3513, allocations: 23.83 kB / 409.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.3513, allocations: 12 kB / 409.1 MB, free: 0.6328 MB / 318.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.0001501/0.3514, allocations: 153.4 kB / 409.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.3517, allocations: 163.8 kB / 409.4 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.3521, allocations: 179.4 kB / 409.6 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3521, allocations: 4 kB / 409.6 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3521, allocations: 0 / 409.6 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3522, allocations: 0 / 409.6 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.3524, allocations: 229.5 kB / 409.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.3524, allocations: 3.938 kB / 409.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.3526, allocations: 35.91 kB / 409.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.3526, allocations: 8 kB / 409.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3526, allocations: 0 / 409.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3526, allocations: 4 kB / 409.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3526, allocations: 4 kB / 409.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.353, allocations: 280.1 kB / 410.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.3531, allocations: 120.8 kB / 410.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.3532, allocations: 11.98 kB / 410.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3533, allocations: 8 kB / 410.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3534, allocations: 4 kB / 410.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.3534, allocations: 7.984 kB / 410.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3535, allocations: 143.2 kB / 410.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3535, allocations: 0 / 410.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000347/0.3539, allocations: 32 kB / 410.5 MB, free: 15.16 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.000205/0.3541, allocations: 123.1 kB / 410.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000348/0.3545, allocations: 143.7 kB / 410.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3545, allocations: 1.188 kB / 410.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.3545, allocations: 7.984 kB / 410.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.3552, allocations: 163.6 kB / 410.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.3559, allocations: 354.7 kB / 411.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3563, allocations: 0.7361 MB / 412 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.3563, allocations: 19.38 kB / 412 MB, free: 13.55 MB / 334.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3563, allocations: 0 / 412 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Templates: time 0.005023/0.3613, allocations: 2.26 MB / 414.3 MB, free: 11.3 MB / 334.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