Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008805/0.0008806, allocations: 180.4 kB / 16.45 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.4 MB / 222.6 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000817/0.000817, allocations: 100.5 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06424/0.06424, allocations: 12.6 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004116, allocations: 12 kB / 392.7 MB, free: 66.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08516/0.08558, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001651/0.08727, allocations: 1.516 MB / 444.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.08811, allocations: 0.6325 MB / 445.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.08823, allocations: 7.938 kB / 445.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.08836, allocations: 11.86 kB / 445.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.08846, allocations: 15.88 kB / 445.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.08879, allocations: 91.83 kB / 445.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.08895, allocations: 123.6 kB / 445.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.0891, allocations: 41.7 kB / 445.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.08918, allocations: 43.72 kB / 445.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.08927, allocations: 35.8 kB / 445.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.08931, allocations: 8 kB / 445.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.08933, allocations: 0 / 445.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.08939, allocations: 27.84 kB / 445.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.08942, allocations: 41.64 kB / 445.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.08954, allocations: 92.03 kB / 445.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.08955, allocations: 4 kB / 445.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.08956, allocations: 0 / 445.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.08957, allocations: 0 / 445.7 MB, free: 13.09 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.0005124/0.09009, allocations: 430.9 kB / 446.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.09014, allocations: 12.03 kB / 446.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.09019, allocations: 19.72 kB / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.09042, allocations: 231.7 kB / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.09045, allocations: 8.188 kB / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.09047, allocations: 8 kB / 446.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.09099, allocations: 292.4 kB / 446.7 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.09101, allocations: 0 / 446.7 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.09103, allocations: 8 kB / 446.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.09104, allocations: 0 / 446.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.09125, allocations: 87.88 kB / 446.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.09162, allocations: 431.3 kB / 447.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.09202, allocations: 318.1 kB / 447.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.09219, allocations: 116.3 kB / 447.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.09222, allocations: 0 / 447.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.09224, allocations: 42.5 kB / 447.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.09224, allocations: 0 / 447.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004724/0.09272, allocations: 233.3 kB / 447.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.09279, allocations: 196.4 kB / 448.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.09292, allocations: 182.9 kB / 448.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.09293, allocations: 29.7 kB / 448.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.09298, allocations: 100.1 kB / 448.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.093, allocations: 23.81 kB / 448.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/0.09301, allocations: 4 kB / 448.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.09306, allocations: 322.8 kB / 448.7 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.09313, allocations: 31.98 kB / 448.8 MB, free: 9.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.09322, allocations: 130.5 kB / 448.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.679e-05/0.0933, allocations: 39.97 kB / 448.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.09331, allocations: 4 kB / 448.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002161/0.09353, allocations: 173.1 kB / 449.1 MB, free: 9.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.09356, allocations: 8 kB / 449.1 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.09357, allocations: 4 kB / 449.1 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.09359, allocations: 11.92 kB / 449.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.09371, allocations: 36.3 kB / 449.2 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.09373, allocations: 4.5 kB / 449.2 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.872e-05/0.09382, allocations: 23.89 kB / 449.2 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.09384, allocations: 11.95 kB / 449.2 MB, free: 9.195 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.759e-05/0.09392, allocations: 145.4 kB / 449.4 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.09416, allocations: 149.3 kB / 449.5 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.09421, allocations: 21.44 kB / 449.5 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.09422, allocations: 4 kB / 449.5 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.09423, allocations: 0 / 449.5 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.09424, allocations: 7.984 kB / 449.5 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.09444, allocations: 209.5 kB / 449.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.09445, allocations: 4 kB / 449.7 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.09458, allocations: 39.97 kB / 449.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.09459, allocations: 4 kB / 449.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.0946, allocations: 0 / 449.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.09461, allocations: 8 kB / 449.8 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.09462, allocations: 3.938 kB / 449.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.09494, allocations: 369 kB / 450.2 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.09501, allocations: 108.8 kB / 450.3 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.09504, allocations: 7.984 kB / 450.3 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.09518, allocations: 16 kB / 450.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.09522, allocations: 7.984 kB / 450.3 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.09524, allocations: 4 kB / 450.3 MB, free: 7.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.211e-05/0.09531, allocations: 141.1 kB / 450.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09532, allocations: 4 kB / 450.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.0956, allocations: 20 kB / 450.5 MB, free: 7.836 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 8.319e-05/0.09569, allocations: 95.25 kB / 450.6 MB, free: 7.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.09595, allocations: 119.8 kB / 450.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.09596, allocations: 0 / 450.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.09601, allocations: 12.98 kB / 450.7 MB, free: 7.605 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.09663, allocations: 120.3 kB / 450.8 MB, free: 7.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.09739, allocations: 445.9 kB / 451.2 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.09757, allocations: 0.7241 MB / 452 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.09761, allocations: 19.44 kB / 452 MB, free: 6.242 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.09762, allocations: 0 / 452 MB, free: 6.242 MB / 298.7 MB Notification: Performance of Templates: time 0.002615/0.1002, allocations: 1.759 MB / 453.7 MB, free: 4.48 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches