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.001374/0.001374, allocations: 104.3 kB / 16.31 MB, free: 5.879 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.001456/0.001456, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.707/1.707, allocations: 205.1 MB / 223.1 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0859/0.0859, allocations: 12.59 MB / 283.1 MB, free: 15.46 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.002452/0.002452, allocations: 92.62 kB / 343.5 MB, free: 2.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3693, allocations: 49.38 MB / 392.9 MB, free: 49.17 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.005889/0.3752, allocations: 1.849 MB / 394.7 MB, free: 47.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.3774, allocations: 0.6611 MB / 395.4 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/0.3778, allocations: 12.22 kB / 395.4 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.378, allocations: 21.48 kB / 395.4 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.3783, allocations: 29.89 kB / 395.5 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.3789, allocations: 96.17 kB / 395.6 MB, free: 47.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.3793, allocations: 138.8 kB / 395.7 MB, free: 47.26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.3795, allocations: 64.89 kB / 395.8 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3796, allocations: 55.66 kB / 395.8 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3798, allocations: 53.62 kB / 395.9 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.3798, allocations: 9.75 kB / 395.9 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.96e-05/0.3798, allocations: 12.91 kB / 395.9 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.353e-05/0.3799, allocations: 32.08 kB / 395.9 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.38, allocations: 60.36 kB / 396 MB, free: 47.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.3803, allocations: 132.7 kB / 396.1 MB, free: 47.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3803, allocations: 0.5625 kB / 396.1 MB, free: 47.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3803, allocations: 1.125 kB / 396.1 MB, free: 47.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3803, allocations: 3.938 kB / 396.1 MB, free: 47.03 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.0008147/0.3811, allocations: 448.5 kB / 396.5 MB, free: 46.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3812, allocations: 12.91 kB / 396.6 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.3813, allocations: 22.03 kB / 396.6 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.3816, allocations: 228 kB / 396.8 MB, free: 46.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3816, allocations: 14.12 kB / 396.8 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.3816, allocations: 9.531 kB / 396.8 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.3822, allocations: 279.9 kB / 397.1 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3823, allocations: 3.938 kB / 397.1 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.3823, allocations: 5.062 kB / 397.1 MB, free: 46.17 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3823, allocations: 2.75 kB / 397.1 MB, free: 46.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.3825, allocations: 71.36 kB / 397.2 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.383, allocations: 438.5 kB / 397.6 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.3835, allocations: 294.1 kB / 397.9 MB, free: 45.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.3837, allocations: 107.3 kB / 398 MB, free: 45.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.3837, allocations: 3.469 kB / 398 MB, free: 45.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3838, allocations: 44.75 kB / 398 MB, free: 45.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.3838, allocations: 0 / 398 MB, free: 45.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006075/0.3844, allocations: 220.5 kB / 398.3 MB, free: 45.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.3845, allocations: 190.5 kB / 398.4 MB, free: 44.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3846, allocations: 182.9 kB / 398.6 MB, free: 44.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.3847, allocations: 31.27 kB / 398.7 MB, free: 44.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.3847, allocations: 100.8 kB / 398.8 MB, free: 44.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3848, allocations: 14.45 kB / 398.8 MB, free: 44.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.3848, allocations: 41.2 kB / 398.8 MB, free: 44.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.3849, allocations: 322.1 kB / 399.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.385, allocations: 29.08 kB / 399.2 MB, free: 44.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.3851, allocations: 125.8 kB / 399.3 MB, free: 44.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3852, allocations: 164.8 kB / 399.4 MB, free: 43.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3852, allocations: 5.156 kB / 399.4 MB, free: 43.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002622/0.3855, allocations: 163.6 kB / 399.6 MB, free: 43.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3855, allocations: 11.69 kB / 399.6 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3856, allocations: 7.469 kB / 399.6 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.3856, allocations: 4.812 kB / 399.6 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3857, allocations: 33.33 kB / 399.7 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3857, allocations: 4.812 kB / 399.7 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.3858, allocations: 15.92 kB / 399.7 MB, free: 43.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3859, allocations: 15.62 kB / 399.7 MB, free: 43.81 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 9.327e-05/0.386, allocations: 128.1 kB / 399.8 MB, free: 43.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.3862, allocations: 151.2 kB / 400 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.3863, allocations: 26.42 kB / 400 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3863, allocations: 3.469 kB / 400 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3863, allocations: 1.562 kB / 400 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3863, allocations: 1.344 kB / 400 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3866, allocations: 225.3 kB / 400.2 MB, free: 43.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3866, allocations: 4 kB / 400.2 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.3867, allocations: 35.64 kB / 400.3 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.3868, allocations: 10.11 kB / 400.3 MB, free: 43.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3868, allocations: 6.109 kB / 400.3 MB, free: 43.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3868, allocations: 6.188 kB / 400.3 MB, free: 43.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.3868, allocations: 6.062 kB / 400.3 MB, free: 43.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.3872, allocations: 355 kB / 400.6 MB, free: 43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.3873, allocations: 110.9 kB / 400.7 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3873, allocations: 6.562 kB / 400.7 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3874, allocations: 14.64 kB / 400.8 MB, free: 42.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3875, allocations: 2.531 kB / 400.8 MB, free: 42.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3875, allocations: 3.719 kB / 400.8 MB, free: 42.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.3876, allocations: 139.1 kB / 400.9 MB, free: 42.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3876, allocations: 0 / 400.9 MB, free: 42.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.388, allocations: 24.78 kB / 400.9 MB, free: 42.76 MB / 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 9.498e-05/0.3881, allocations: 100.6 kB / 401 MB, free: 42.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.3884, allocations: 113.8 kB / 401.1 MB, free: 42.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3884, allocations: 1.125 kB / 401.1 MB, free: 42.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/0.3884, allocations: 22.73 kB / 401.2 MB, free: 42.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.3892, allocations: 103.6 kB / 401.3 MB, free: 42.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.39, allocations: 365.2 kB / 401.6 MB, free: 42.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.3902, allocations: 0.7289 MB / 402.3 MB, free: 41.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.205e-05/0.3903, allocations: 13.7 kB / 402.4 MB, free: 41.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.3903, allocations: 19.47 kB / 402.4 MB, free: 41.54 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3903, allocations: 0 / 402.4 MB, free: 41.54 MB / 318.1 MB Notification: Performance of Templates: time 0.00525/0.3956, allocations: 1.682 MB / 404.1 MB, free: 40.72 MB / 318.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches