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.001392/0.001392, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001333/0.001333, allocations: 192 kB / 18 MB, free: 4.977 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.372/1.372, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000946/0.0009461, allocations: 47.94 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3014, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003594/0.305, allocations: 1.856 MB / 402.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.3066, allocations: 0.6854 MB / 403.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3067, allocations: 7.938 kB / 403.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.3069, allocations: 23.8 kB / 403.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.3071, allocations: 19.8 kB / 403.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.3077, allocations: 158.9 kB / 403.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.3079, allocations: 147.7 kB / 403.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.3081, allocations: 49.53 kB / 403.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3082, allocations: 67.7 kB / 403.7 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3084, allocations: 59.64 kB / 403.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.3084, allocations: 16 kB / 403.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3085, allocations: 47.97 kB / 403.9 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.3086, allocations: 43.88 kB / 403.9 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.3087, allocations: 71.48 kB / 404 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.309, allocations: 199.3 kB / 404.2 MB, free: 5.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3091, allocations: 0 / 404.2 MB, free: 5.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3091, allocations: 0 / 404.2 MB, free: 5.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.3091, allocations: 0 / 404.2 MB, free: 5.426 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.0008674/0.3099, allocations: 476 kB / 404.6 MB, free: 4.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.31, allocations: 11.89 kB / 404.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.3101, allocations: 24.66 kB / 404.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.3104, allocations: 240 kB / 404.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3105, allocations: 8.562 kB / 404.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3105, allocations: 16.12 kB / 404.9 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.3111, allocations: 326.4 kB / 405.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3112, allocations: 3.938 kB / 405.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3112, allocations: 8 kB / 405.3 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3112, allocations: 0 / 405.3 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.3114, allocations: 87.88 kB / 405.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.3119, allocations: 337.5 kB / 405.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.3124, allocations: 278.1 kB / 405.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.3126, allocations: 102 kB / 406 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.3132, allocations: 0.5856 MB / 406.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.3133, allocations: 38.55 kB / 406.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.984e-06/0.3133, allocations: 0 / 406.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005665/0.3138, allocations: 235.6 kB / 406.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.314, allocations: 126.6 kB / 407 MB, free: 2.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3141, allocations: 194.2 kB / 407.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3142, allocations: 25.7 kB / 407.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.3142, allocations: 108.5 kB / 407.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.3143, allocations: 19.88 kB / 407.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.3144, allocations: 45.83 kB / 407.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3145, allocations: 326.8 kB / 407.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.3146, allocations: 39.97 kB / 407.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.3148, allocations: 162.8 kB / 407.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.315, allocations: 204.1 kB / 408.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.315, allocations: 4 kB / 408.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003062/0.3153, allocations: 213.5 kB / 408.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3153, allocations: 12.09 kB / 408.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3154, allocations: 7.938 kB / 408.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3154, allocations: 4 kB / 408.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3155, allocations: 43.92 kB / 408.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3156, allocations: 15.92 kB / 408.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3157, allocations: 11.91 kB / 408.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.3157, allocations: 12 kB / 408.4 MB, free: 0.625 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.0001367/0.3158, allocations: 149.7 kB / 408.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.3161, allocations: 165.3 kB / 408.7 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.3165, allocations: 179.3 kB / 408.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3165, allocations: 0 / 408.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.3165, allocations: 0 / 408.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3165, allocations: 4 kB / 408.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.3167, allocations: 229.5 kB / 409.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3167, allocations: 3.938 kB / 409.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.3169, allocations: 39.97 kB / 409.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3169, allocations: 0 / 409.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3169, allocations: 4 kB / 409.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3169, allocations: 0 / 409.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3169, allocations: 0 / 409.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.3173, allocations: 295 kB / 409.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/0.3174, allocations: 120.7 kB / 409.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.3175, allocations: 11.98 kB / 409.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3176, allocations: 15.98 kB / 409.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.3176, allocations: 0 / 409.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.3177, allocations: 7.938 kB / 409.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.3178, allocations: 143.2 kB / 409.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3178, allocations: 0 / 409.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.3181, allocations: 28 kB / 409.8 MB, free: 15.14 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.0002112/0.3183, allocations: 127.1 kB / 409.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.3187, allocations: 140.8 kB / 410.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3187, allocations: 0 / 410.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.3187, allocations: 16.05 kB / 410.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.3193, allocations: 148.9 kB / 410.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.32, allocations: 329 kB / 410.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3203, allocations: 0.7322 MB / 411.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.3204, allocations: 17.55 kB / 411.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.3204, allocations: 15.44 kB / 411.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3204, allocations: 0 / 411.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Templates: time 0.005885/0.3263, allocations: 2.378 MB / 413.7 MB, free: 11.21 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/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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches