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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009014/0.0009014, allocations: 175.7 kB / 17.03 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 223.3 MB / 241 MB, free: 10.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007164/0.000716, allocations: 108.4 kB / 292.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002994, allocations: 7.938 kB / 351.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2142, allocations: 50.42 MB / 402.2 MB, free: 32.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001642/0.2159, allocations: 1.518 MB / 403.7 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.2168, allocations: 0.5836 MB / 404.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.217, allocations: 7.938 kB / 404.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.2171, allocations: 15.8 kB / 404.3 MB, free: 30.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.2172, allocations: 22.36 kB / 404.4 MB, free: 30.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.2175, allocations: 83.78 kB / 404.4 MB, free: 30.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.2177, allocations: 123.6 kB / 404.6 MB, free: 30.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.2178, allocations: 44.2 kB / 404.6 MB, free: 30.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.069e-05/0.2179, allocations: 39.73 kB / 404.6 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.2179, allocations: 35.78 kB / 404.7 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.218, allocations: 7.25 kB / 404.7 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.218, allocations: 4 kB / 404.7 MB, free: 30.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.218, allocations: 23.91 kB / 404.7 MB, free: 30.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.2181, allocations: 41.64 kB / 404.8 MB, free: 29.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.404e-05/0.2182, allocations: 95.8 kB / 404.8 MB, free: 29.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2182, allocations: 3.938 kB / 404.8 MB, free: 29.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2182, allocations: 0 / 404.8 MB, free: 29.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2182, allocations: 0 / 404.8 MB, free: 29.89 MB / 298.7 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.0004374/0.2186, allocations: 434.2 kB / 405.3 MB, free: 29.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2187, allocations: 8.031 kB / 405.3 MB, free: 29.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.2187, allocations: 23.77 kB / 405.3 MB, free: 29.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.2189, allocations: 236.5 kB / 405.5 MB, free: 29.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.219, allocations: 8.188 kB / 405.5 MB, free: 29.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.219, allocations: 12 kB / 405.6 MB, free: 29.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.2195, allocations: 295.4 kB / 405.8 MB, free: 28.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2195, allocations: 4 kB / 405.8 MB, free: 28.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2195, allocations: 3.953 kB / 405.9 MB, free: 28.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2195, allocations: 4 kB / 405.9 MB, free: 28.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.2197, allocations: 79.89 kB / 405.9 MB, free: 28.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.22, allocations: 431.4 kB / 406.4 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.2204, allocations: 306.1 kB / 406.7 MB, free: 27.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.2206, allocations: 112.4 kB / 406.8 MB, free: 27.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2206, allocations: 15.94 kB / 406.8 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2207, allocations: 42.48 kB / 406.8 MB, free: 27.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.2207, allocations: 0 / 406.8 MB, free: 27.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004833/0.2212, allocations: 229.5 kB / 407 MB, free: 27.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.2212, allocations: 192 kB / 407.2 MB, free: 27.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2213, allocations: 191.4 kB / 407.4 MB, free: 27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2214, allocations: 29.7 kB / 407.4 MB, free: 26.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.2214, allocations: 100 kB / 407.5 MB, free: 26.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.2214, allocations: 11.98 kB / 407.6 MB, free: 26.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.2214, allocations: 4 kB / 407.6 MB, free: 26.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.2215, allocations: 322.8 kB / 407.9 MB, free: 26.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.2216, allocations: 31.83 kB / 407.9 MB, free: 26.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.782e-05/0.2217, allocations: 126.6 kB / 408 MB, free: 26.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.2217, allocations: 51.95 kB / 408.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2218, allocations: 4 kB / 408.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002065/0.222, allocations: 161.4 kB / 408.2 MB, free: 26.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.222, allocations: 7.953 kB / 408.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.222, allocations: 4 kB / 408.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.222, allocations: 8 kB / 408.3 MB, free: 26.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.2221, allocations: 39.91 kB / 408.3 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2221, allocations: 15.92 kB / 408.3 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.2222, allocations: 15.94 kB / 408.3 MB, free: 26.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.2223, allocations: 12.22 kB / 408.3 MB, free: 26 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.464e-05/0.2223, allocations: 133.8 kB / 408.5 MB, free: 25.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.2226, allocations: 145.3 kB / 408.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.2226, allocations: 33.34 kB / 408.6 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2226, allocations: 4 kB / 408.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2226, allocations: 4.031 kB / 408.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2227, allocations: 0 / 408.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2229, allocations: 217.4 kB / 408.9 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2229, allocations: 0 / 408.9 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.223, allocations: 43.91 kB / 408.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.223, allocations: 0 / 408.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.223, allocations: 8 kB / 408.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.223, allocations: 7.953 kB / 408.9 MB, free: 25.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.223, allocations: 0 / 408.9 MB, free: 25.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.2233, allocations: 373.2 kB / 409.3 MB, free: 24.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.2234, allocations: 112.9 kB / 409.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.2234, allocations: 4 kB / 409.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.2236, allocations: 16.08 kB / 409.4 MB, free: 24.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.2236, allocations: 11.89 kB / 409.4 MB, free: 24.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2236, allocations: 4 kB / 409.4 MB, free: 24.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.891e-05/0.2237, allocations: 137.2 kB / 409.6 MB, free: 24.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2237, allocations: 0 / 409.6 MB, free: 24.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.224, allocations: 20 kB / 409.6 MB, free: 24.64 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.197e-05/0.2241, allocations: 107.2 kB / 409.7 MB, free: 24.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.2243, allocations: 118.5 kB / 409.8 MB, free: 24.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2243, allocations: 4 kB / 409.8 MB, free: 24.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.806e-05/0.2244, allocations: 15.94 kB / 409.8 MB, free: 24.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.225, allocations: 101.1 kB / 409.9 MB, free: 24.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.2257, allocations: 454.7 kB / 410.4 MB, free: 23.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2258, allocations: 0.7241 MB / 411.1 MB, free: 23.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.2259, allocations: 19.42 kB / 411.1 MB, free: 23.04 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2259, allocations: 0 / 411.1 MB, free: 23.04 MB / 298.7 MB Notification: Performance of Templates: time 0.002453/0.2283, allocations: 1.731 MB / 412.8 MB, free: 21.32 MB / 298.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches