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.001717/0.001717, allocations: 168.9 kB / 16.8 MB, free: 4.992 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.437/1.437, allocations: 205.4 MB / 223 MB, free: 9.008 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.0007839/0.0007838, allocations: 97.41 kB / 271.3 MB, free: 8.227 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.06922/0.06922, allocations: 12.59 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.000381, allocations: 15.94 kB / 393.3 MB, free: 65.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08786, allocations: 50.38 MB / 443.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001761/0.08966, allocations: 1.551 MB / 445.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.09052, allocations: 0.6361 MB / 445.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.09064, allocations: 7.938 kB / 445.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.09078, allocations: 15.86 kB / 445.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.0909, allocations: 23.84 kB / 445.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.09121, allocations: 91.84 kB / 446 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.09135, allocations: 135.5 kB / 446.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.09151, allocations: 57.7 kB / 446.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.482e-05/0.09159, allocations: 43.78 kB / 446.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.09167, allocations: 39.66 kB / 446.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.09169, allocations: 4 kB / 446.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.09172, allocations: 4 kB / 446.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.09177, allocations: 23.86 kB / 446.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.09183, allocations: 73.31 kB / 446.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.297e-05/0.09193, allocations: 92.03 kB / 446.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.09194, allocations: 0 / 446.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09195, allocations: 4 kB / 446.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.09196, allocations: 3.938 kB / 446.5 MB, free: 12.59 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.0004502/0.09241, allocations: 427.1 kB / 446.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.09245, allocations: 8.031 kB / 446.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.0925, allocations: 20.66 kB / 446.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.09271, allocations: 248.8 kB / 447.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.09274, allocations: 12.12 kB / 447.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.09276, allocations: 8 kB / 447.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.09323, allocations: 290.7 kB / 447.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.09325, allocations: 3.984 kB / 447.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.09327, allocations: 7.984 kB / 447.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.09328, allocations: 4 kB / 447.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.09348, allocations: 87.89 kB / 447.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.09383, allocations: 423.4 kB / 448 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.09421, allocations: 310.1 kB / 448.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.09437, allocations: 116.3 kB / 448.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.0944, allocations: 4 kB / 448.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.09443, allocations: 42.5 kB / 448.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.09444, allocations: 0 / 448.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004915/0.09494, allocations: 237.5 kB / 448.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.09501, allocations: 195.9 kB / 448.9 MB, free: 9.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.09513, allocations: 179 kB / 449.1 MB, free: 9.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.09515, allocations: 25.7 kB / 449.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.0952, allocations: 108.1 kB / 449.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.09522, allocations: 23.92 kB / 449.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.09523, allocations: 0 / 449.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.09529, allocations: 331.2 kB / 449.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.09535, allocations: 23.98 kB / 449.6 MB, free: 9.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.09544, allocations: 138.4 kB / 449.7 MB, free: 8.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.09559, allocations: 161.5 kB / 449.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.09561, allocations: 3.938 kB / 449.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002147/0.09582, allocations: 165.2 kB / 450 MB, free: 8.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.09585, allocations: 16.38 kB / 450 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.09586, allocations: 4 kB / 450 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.09588, allocations: 8 kB / 450 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.09599, allocations: 31.98 kB / 450.1 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.09601, allocations: 7.938 kB / 450.1 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.09613, allocations: 19.89 kB / 450.1 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.09615, allocations: 8 kB / 450.1 MB, free: 8.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.09623, allocations: 137.7 kB / 450.2 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.09648, allocations: 153.3 kB / 450.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.09653, allocations: 21.41 kB / 450.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.09653, allocations: 0 / 450.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.09654, allocations: 4 kB / 450.4 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.09655, allocations: 3.984 kB / 450.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.09677, allocations: 217.5 kB / 450.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.09678, allocations: 0 / 450.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.09691, allocations: 47.94 kB / 450.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.09692, allocations: 3.938 kB / 450.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.09693, allocations: 4 kB / 450.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.09694, allocations: 0 / 450.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.09695, allocations: 4 kB / 450.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.09726, allocations: 367.8 kB / 451.1 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.09732, allocations: 108.8 kB / 451.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.09736, allocations: 23.92 kB / 451.2 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.0975, allocations: 8.234 kB / 451.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.09754, allocations: 7.984 kB / 451.2 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.09755, allocations: 4 kB / 451.2 MB, free: 7.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.801e-05/0.09762, allocations: 137.2 kB / 451.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09763, allocations: 0 / 451.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000289/0.09792, allocations: 23.91 kB / 451.4 MB, free: 7.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.411e-05/0.098, allocations: 107.2 kB / 451.5 MB, free: 7.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.09825, allocations: 120.6 kB / 451.6 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.09826, allocations: 4.219 kB / 451.6 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.09831, allocations: 15.92 kB / 451.6 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.09891, allocations: 115.6 kB / 451.7 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007173/0.09963, allocations: 454.4 kB / 452.2 MB, free: 6.309 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.09979, allocations: 0.728 MB / 452.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.09983, allocations: 15.44 kB / 452.9 MB, free: 5.543 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.09984, allocations: 0 / 452.9 MB, free: 5.543 MB / 298.7 MB Notification: Performance of Templates: time 0.003011/0.1029, allocations: 1.752 MB / 454.7 MB, free: 3.785 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