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.001297/0.001297, allocations: 101.1 kB / 16.02 MB, free: 6.336 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.001763/0.001763, allocations: 200.6 kB / 16.95 MB, free: 6.152 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.721/1.721, allocations: 205.1 MB / 222.8 MB, free: 12.45 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.09125/0.09125, allocations: 12.59 MB / 282.7 MB, free: 15.64 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.001894/0.001895, allocations: 87.88 kB / 343 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4108, allocations: 49.38 MB / 392.4 MB, free: 49.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00445/0.4154, allocations: 1.913 MB / 394.3 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.4167, allocations: 0.6585 MB / 394.9 MB, free: 47.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.4169, allocations: 2.812 kB / 394.9 MB, free: 47.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.4171, allocations: 13.48 kB / 394.9 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.4173, allocations: 21.19 kB / 395 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.4176, allocations: 90.42 kB / 395.1 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.4179, allocations: 144.8 kB / 395.2 MB, free: 47.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.4181, allocations: 66.19 kB / 395.3 MB, free: 47.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.4182, allocations: 55.42 kB / 395.3 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.4183, allocations: 51.14 kB / 395.4 MB, free: 47.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.4183, allocations: 10.75 kB / 395.4 MB, free: 47.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.4184, allocations: 14.44 kB / 395.4 MB, free: 47.13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.4185, allocations: 32.86 kB / 395.4 MB, free: 47.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.4185, allocations: 59.75 kB / 395.5 MB, free: 47.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.4188, allocations: 131.5 kB / 395.6 MB, free: 47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4188, allocations: 0.6094 kB / 395.6 MB, free: 47 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4188, allocations: 0 / 395.6 MB, free: 47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.4188, allocations: 0.9062 kB / 395.6 MB, free: 47 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.0006313/0.4194, allocations: 455.5 kB / 396.1 MB, free: 46.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4195, allocations: 9.125 kB / 396.1 MB, free: 46.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.4196, allocations: 25.56 kB / 396.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.4199, allocations: 232.4 kB / 396.3 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.4199, allocations: 11.41 kB / 396.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.4199, allocations: 7.312 kB / 396.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/0.4206, allocations: 281.2 kB / 396.6 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4206, allocations: 0 / 396.6 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.4206, allocations: 2.719 kB / 396.6 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.4207, allocations: 3.938 kB / 396.6 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.4209, allocations: 78.39 kB / 396.7 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.4215, allocations: 428.4 kB / 397.1 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.422, allocations: 296.4 kB / 397.4 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.4222, allocations: 111.7 kB / 397.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.4222, allocations: 12.38 kB / 397.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.4223, allocations: 37.31 kB / 397.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.4223, allocations: 4 kB / 397.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005679/0.4229, allocations: 220.7 kB / 397.8 MB, free: 45.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.423, allocations: 190.5 kB / 398 MB, free: 45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.4232, allocations: 187.3 kB / 398.1 MB, free: 44.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.4232, allocations: 30.77 kB / 398.2 MB, free: 44.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.4233, allocations: 100.8 kB / 398.3 MB, free: 44.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.4233, allocations: 11 kB / 398.3 MB, free: 44.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.4234, allocations: 37.39 kB / 398.3 MB, free: 44.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.4235, allocations: 326.8 kB / 398.6 MB, free: 44.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.4236, allocations: 20.48 kB / 398.7 MB, free: 44.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.4237, allocations: 134.7 kB / 398.8 MB, free: 44.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.4239, allocations: 160.3 kB / 398.9 MB, free: 44.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4239, allocations: 1.062 kB / 399 MB, free: 44.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002864/0.4242, allocations: 163.8 kB / 399.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4242, allocations: 10 kB / 399.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.4242, allocations: 5.219 kB / 399.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.4243, allocations: 8.25 kB / 399.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.4244, allocations: 37.47 kB / 399.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4244, allocations: 4.562 kB / 399.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.4245, allocations: 15.12 kB / 399.2 MB, free: 43.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.4246, allocations: 7.812 kB / 399.2 MB, free: 43.89 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 0.0001162/0.4247, allocations: 137.9 kB / 399.3 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.425, allocations: 151.7 kB / 399.5 MB, free: 43.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.838e-05/0.425, allocations: 22.08 kB / 399.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4251, allocations: 7.625 kB / 399.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4251, allocations: 4.969 kB / 399.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.4251, allocations: 1.469 kB / 399.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.4254, allocations: 220.8 kB / 399.7 MB, free: 43.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.4254, allocations: 1.438 kB / 399.7 MB, free: 43.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.4255, allocations: 35.44 kB / 399.8 MB, free: 43.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.4255, allocations: 6.156 kB / 399.8 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4256, allocations: 6.156 kB / 399.8 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.4256, allocations: 5.156 kB / 399.8 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4256, allocations: 2.219 kB / 399.8 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.4261, allocations: 356 kB / 400.1 MB, free: 43.08 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.4262, allocations: 113.7 kB / 400.2 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.4262, allocations: 11.12 kB / 400.3 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.4264, allocations: 9.922 kB / 400.3 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.4264, allocations: 2.281 kB / 400.3 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.4264, allocations: 12.38 kB / 400.3 MB, free: 42.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.4266, allocations: 139.1 kB / 400.4 MB, free: 42.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4266, allocations: 0 / 400.4 MB, free: 42.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.4269, allocations: 20.38 kB / 400.4 MB, free: 42.83 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 0.0001217/0.427, allocations: 101.8 kB / 400.5 MB, free: 42.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.4274, allocations: 120 kB / 400.7 MB, free: 42.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4274, allocations: 2.125 kB / 400.7 MB, free: 42.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-05/0.4275, allocations: 15.12 kB / 400.7 MB, free: 42.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.4283, allocations: 111.5 kB / 400.8 MB, free: 42.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009847/0.4293, allocations: 402 kB / 401.2 MB, free: 42.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.4296, allocations: 0.726 MB / 401.9 MB, free: 41.58 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.4297, allocations: 12.89 kB / 401.9 MB, free: 41.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.4297, allocations: 20.03 kB / 401.9 MB, free: 41.57 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4297, allocations: 0 / 401.9 MB, free: 41.57 MB / 318.1 MB Notification: Performance of Templates: time 0.00602/0.4358, allocations: 1.648 MB / 403.6 MB, free: 40.76 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches