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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007265/0.0007266, allocations: 97.72 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007704/0.0007705, allocations: 181.1 kB / 16.96 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.4 MB / 223.2 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06264/0.06264, allocations: 12.61 MB / 284 MB, free: 8.582 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000644/0.0006439, allocations: 27.98 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07693/0.07759, allocations: 50.37 MB / 395.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001916/0.07954, allocations: 1.551 MB / 397.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.08038, allocations: 0.6439 MB / 397.7 MB, free: 220 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.08049, allocations: 4 kB / 397.7 MB, free: 216 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.0806, allocations: 19.86 kB / 397.8 MB, free: 196 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.336e-05/0.0807, allocations: 15.86 kB / 397.8 MB, free: 180 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.08099, allocations: 99.77 kB / 397.9 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.08117, allocations: 131.7 kB / 398 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.08131, allocations: 49.62 kB / 398.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.0814, allocations: 51.67 kB / 398.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.08148, allocations: 39.72 kB / 398.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.0815, allocations: 4 kB / 398.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.08152, allocations: 4 kB / 398.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.08158, allocations: 23.84 kB / 398.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.08165, allocations: 77.31 kB / 398.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.0818, allocations: 123.7 kB / 398.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.08181, allocations: 0 / 398.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.08182, allocations: 0 / 398.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.08183, allocations: 0 / 398.4 MB, free: 15.58 MB / 302.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.0004967/0.08233, allocations: 435 kB / 398.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.08237, allocations: 8.031 kB / 398.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.08242, allocations: 20.66 kB / 398.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.08265, allocations: 240.9 kB / 399.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.08267, allocations: 12.12 kB / 399.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.0827, allocations: 8 kB / 399.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.0832, allocations: 295.3 kB / 399.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.08322, allocations: 0 / 399.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.08324, allocations: 3.984 kB / 399.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.08325, allocations: 4 kB / 399.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.08346, allocations: 91.88 kB / 399.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.08385, allocations: 427.4 kB / 399.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.08427, allocations: 306.1 kB / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.08447, allocations: 116.3 kB / 400.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.0845, allocations: 4 kB / 400.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.08452, allocations: 38.5 kB / 400.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.08453, allocations: 4 kB / 400.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005082/0.08505, allocations: 241.4 kB / 400.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.08515, allocations: 195.9 kB / 400.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.0853, allocations: 175 kB / 400.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.08532, allocations: 29.7 kB / 401 MB, free: 12.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.08538, allocations: 100.1 kB / 401.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.08541, allocations: 19.83 kB / 401.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.08544, allocations: 17.72 kB / 401.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.08555, allocations: 330.9 kB / 401.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.08562, allocations: 27.92 kB / 401.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.08575, allocations: 138.5 kB / 401.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.08594, allocations: 157.6 kB / 401.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.08595, allocations: 7.938 kB / 401.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002336/0.08619, allocations: 161.2 kB / 401.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.08621, allocations: 11.94 kB / 401.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.08623, allocations: 4 kB / 401.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.08624, allocations: 4.5 kB / 401.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.08636, allocations: 43.91 kB / 402 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.08638, allocations: 4 kB / 402 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.08648, allocations: 15.91 kB / 402 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.0865, allocations: 8 kB / 402 MB, free: 11.5 MB / 302.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.0001002/0.0866, allocations: 141.7 kB / 402.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.08687, allocations: 149.3 kB / 402.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.08693, allocations: 21.39 kB / 402.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.08694, allocations: 11.88 kB / 402.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.08695, allocations: 4 kB / 402.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.08695, allocations: 0 / 402.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.0872, allocations: 221.5 kB / 402.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.08721, allocations: 480 / 402.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.08734, allocations: 35.97 kB / 402.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.08735, allocations: 11.97 kB / 402.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.08738, allocations: 8 kB / 402.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.08738, allocations: 0 / 402.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/0.08739, allocations: 3.938 kB / 402.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.08775, allocations: 365.1 kB / 402.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.08784, allocations: 112.8 kB / 403.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.08787, allocations: 11.94 kB / 403.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.08802, allocations: 15.98 kB / 403.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.08805, allocations: 4 kB / 403.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.08806, allocations: 8 kB / 403.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.81e-05/0.08816, allocations: 133.1 kB / 403.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08816, allocations: 0 / 403.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.08847, allocations: 27.91 kB / 403.3 MB, free: 10.12 MB / 302.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 8.083e-05/0.08856, allocations: 99.19 kB / 403.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.08882, allocations: 124 kB / 403.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.08883, allocations: 1 kB / 403.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.08888, allocations: 12.06 kB / 403.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.08947, allocations: 115.8 kB / 403.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.09053, allocations: 428.7 kB / 404 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.09095, allocations: 0.7241 MB / 404.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.204e-05/0.09105, allocations: 17.48 kB / 404.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.09111, allocations: 15.44 kB / 404.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.09113, allocations: 0 / 404.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of Templates: time 0.00587/0.09701, allocations: 1.558 MB / 406.3 MB, free: 6.98 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/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