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.001294/0.001294, allocations: 103.2 kB / 17.06 MB, free: 5.742 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.001343/0.001343, allocations: 194.9 kB / 18 MB, free: 4.91 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 51.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3759, allocations: 49.42 MB / 400.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003913/0.3799, allocations: 1.865 MB / 402.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3811, allocations: 0.6263 MB / 403.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.3813, allocations: 4 kB / 403.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.3815, allocations: 27.67 kB / 403.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.3817, allocations: 23.8 kB / 403.3 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.3821, allocations: 107.6 kB / 403.4 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.3823, allocations: 139.6 kB / 403.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.3825, allocations: 61.7 kB / 403.6 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3826, allocations: 55.78 kB / 403.6 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.367e-05/0.3827, allocations: 47.66 kB / 403.7 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.3828, allocations: 12 kB / 403.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.3828, allocations: 8 kB / 403.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.3828, allocations: 39.83 kB / 403.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.3829, allocations: 59.61 kB / 403.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.3831, allocations: 139.4 kB / 403.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3832, allocations: 0 / 403.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3832, allocations: 3.938 kB / 403.9 MB, free: 5.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3832, allocations: 4 kB / 403.9 MB, free: 5.844 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.0006333/0.3838, allocations: 451.4 kB / 404.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3839, allocations: 11.89 kB / 404.4 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.3839, allocations: 16.75 kB / 404.4 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.3843, allocations: 253.7 kB / 404.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3843, allocations: 16.12 kB / 404.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.3843, allocations: 15.94 kB / 404.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.3851, allocations: 273.9 kB / 404.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3851, allocations: 0 / 404.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3852, allocations: 0 / 404.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3852, allocations: 4 kB / 404.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.3854, allocations: 75.83 kB / 405 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.3859, allocations: 435.3 kB / 405.4 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.3864, allocations: 290.1 kB / 405.7 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.3866, allocations: 112.3 kB / 405.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.3866, allocations: 3.938 kB / 405.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3867, allocations: 34.56 kB / 405.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.3867, allocations: 0 / 405.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005389/0.3872, allocations: 229.2 kB / 406.1 MB, free: 3.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.3873, allocations: 187.9 kB / 406.3 MB, free: 3.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3875, allocations: 179.1 kB / 406.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3875, allocations: 33.7 kB / 406.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.3876, allocations: 100.4 kB / 406.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.3877, allocations: 19.89 kB / 406.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.3877, allocations: 29.7 kB / 406.6 MB, free: 2.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3879, allocations: 334.7 kB / 407 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.388, allocations: 23.98 kB / 407 MB, free: 2.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3881, allocations: 130.5 kB / 407.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.3883, allocations: 165.5 kB / 407.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3883, allocations: 0 / 407.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002649/0.3886, allocations: 161.6 kB / 407.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3886, allocations: 9.969 kB / 407.4 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3887, allocations: 4 kB / 407.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3887, allocations: 4 kB / 407.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3888, allocations: 43.86 kB / 407.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3888, allocations: 4.5 kB / 407.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.702e-05/0.3889, allocations: 19.84 kB / 407.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.389, allocations: 11.98 kB / 407.5 MB, free: 1.785 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.0001358/0.3891, allocations: 133.8 kB / 407.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.3894, allocations: 141.3 kB / 407.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.3895, allocations: 25.39 kB / 407.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3895, allocations: 4 kB / 407.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3895, allocations: 4 kB / 407.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3895, allocations: 4.031 kB / 407.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.3899, allocations: 221.4 kB / 408.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3899, allocations: 0 / 408.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.39, allocations: 31.98 kB / 408.1 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.39, allocations: 3.938 kB / 408.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3901, allocations: 11.98 kB / 408.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3901, allocations: 0 / 408.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.3901, allocations: 7.938 kB / 408.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.3905, allocations: 353.1 kB / 408.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3907, allocations: 108.9 kB / 408.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.3907, allocations: 7.938 kB / 408.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3908, allocations: 15.98 kB / 408.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.3909, allocations: 4 kB / 408.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3909, allocations: 8 kB / 408.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.391, allocations: 133.2 kB / 408.7 MB, free: 488 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.555e-06/0.391, allocations: 0 / 408.7 MB, free: 488 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.3914, allocations: 27.88 kB / 408.8 MB, free: 460 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 0.0001385/0.3915, allocations: 103.2 kB / 408.9 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.3918, allocations: 119.7 kB / 409 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3919, allocations: 0 / 409 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.842e-05/0.3919, allocations: 15.98 kB / 409 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.3926, allocations: 105.3 kB / 409.1 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.3935, allocations: 358.9 kB / 409.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3939, allocations: 0.7279 MB / 410.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.339e-05/0.3939, allocations: 17.86 kB / 410.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.394, allocations: 23.42 kB / 410.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.394, allocations: 0 / 410.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Templates: time 0.004842/0.3988, allocations: 1.697 MB / 411.9 MB, free: 13.25 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