Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 115.3 kB / 17.06 MB, free: 5.992 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.002198/0.002198, allocations: 198.8 kB / 18 MB, free: 5.07 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.399/1.399, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 47.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3208, allocations: 49.42 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00331/0.3242, allocations: 1.862 MB / 402.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3257, allocations: 0.6234 MB / 403.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.3259, allocations: 7.938 kB / 403.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.3261, allocations: 23.73 kB / 403.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.3263, allocations: 23.78 kB / 403.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.3267, allocations: 105.8 kB / 403.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.3269, allocations: 139.6 kB / 403.5 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.3271, allocations: 65.7 kB / 403.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3272, allocations: 55.72 kB / 403.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3274, allocations: 55.7 kB / 403.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.3274, allocations: 8 kB / 403.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.716e-05/0.3274, allocations: 12 kB / 403.7 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.3275, allocations: 35.8 kB / 403.7 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.377e-05/0.3276, allocations: 55.61 kB / 403.8 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3278, allocations: 139.4 kB / 403.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3278, allocations: 4 kB / 403.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3278, allocations: 0 / 403.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3278, allocations: 0 / 403.9 MB, free: 5.672 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006338/0.3285, allocations: 452.1 kB / 404.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3285, allocations: 15.89 kB / 404.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.3286, allocations: 16.75 kB / 404.4 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.3289, allocations: 245.7 kB / 404.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3289, allocations: 20.12 kB / 404.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3289, allocations: 8 kB / 404.7 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005605/0.3295, allocations: 280.1 kB / 404.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3295, allocations: 4 kB / 404.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3296, allocations: 0 / 404.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3296, allocations: 4 kB / 404.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.3298, allocations: 71.88 kB / 405 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.3303, allocations: 431.3 kB / 405.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.3308, allocations: 294 kB / 405.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.331, allocations: 112.4 kB / 405.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.331, allocations: 15.95 kB / 405.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.331, allocations: 38.5 kB / 405.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.331, allocations: 0 / 405.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005357/0.3316, allocations: 217.3 kB / 406.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.3317, allocations: 199.9 kB / 406.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.3319, allocations: 175.1 kB / 406.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3319, allocations: 29.7 kB / 406.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.332, allocations: 100.1 kB / 406.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.332, allocations: 16.19 kB / 406.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.3321, allocations: 41.64 kB / 406.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3322, allocations: 322.8 kB / 407 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.3323, allocations: 19.98 kB / 407 MB, free: 2.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.3325, allocations: 138.4 kB / 407.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.3327, allocations: 157.6 kB / 407.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3327, allocations: 4 kB / 407.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002646/0.333, allocations: 161.2 kB / 407.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.333, allocations: 11.94 kB / 407.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.333, allocations: 4 kB / 407.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.333, allocations: 4.375 kB / 407.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.3332, allocations: 35.92 kB / 407.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.3332, allocations: 12.48 kB / 407.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.609e-05/0.3333, allocations: 15.84 kB / 407.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3333, allocations: 15.94 kB / 407.5 MB, free: 1.609 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001261/0.3334, allocations: 129.8 kB / 407.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.3337, allocations: 145.3 kB / 407.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.147e-05/0.3338, allocations: 21.41 kB / 407.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3338, allocations: 4 kB / 407.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3338, allocations: 3.984 kB / 407.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3338, allocations: 4.031 kB / 407.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.3341, allocations: 217.4 kB / 408 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3341, allocations: 0 / 408 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3342, allocations: 39.91 kB / 408.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3343, allocations: 7.938 kB / 408.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3343, allocations: 4 kB / 408.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3343, allocations: 4 kB / 408.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3343, allocations: 0 / 408.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.3346, allocations: 363.3 kB / 408.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.3347, allocations: 108.9 kB / 408.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3348, allocations: 11.94 kB / 408.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3349, allocations: 12 kB / 408.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.3349, allocations: 7.984 kB / 408.6 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.335, allocations: 4 kB / 408.6 MB, free: 440 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.646e-05/0.3351, allocations: 137.2 kB / 408.7 MB, free: 304 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3351, allocations: 0 / 408.7 MB, free: 304 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.3354, allocations: 23.94 kB / 408.8 MB, free: 280 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 9.939e-05/0.3355, allocations: 111.1 kB / 408.9 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.3357, allocations: 115.8 kB / 409 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3358, allocations: 0 / 409 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.3358, allocations: 8 kB / 409 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.3364, allocations: 105.4 kB / 409.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/0.3372, allocations: 352 kB / 409.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.3375, allocations: 0.7357 MB / 410.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.3376, allocations: 17.53 kB / 410.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.3376, allocations: 15.44 kB / 410.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3376, allocations: 0 / 410.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of Templates: time 0.004321/0.342, allocations: 1.709 MB / 411.9 MB, free: 13.07 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches