Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007252/0.0007254, allocations: 97.17 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.0007326/0.0007326, allocations: 182.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.205/1.205, allocations: 205.4 MB / 223.1 MB, free: 5.734 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.06046/0.06046, allocations: 12.61 MB / 284 MB, free: 8.812 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.0006788/0.0006788, allocations: 24.89 kB / 345.2 MB, free: 20.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08131/0.082, allocations: 50.38 MB / 395.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002044/0.08409, allocations: 1.555 MB / 397.1 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.08508, allocations: 0.6478 MB / 397.8 MB, free: 232 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.08525, allocations: 0 / 397.8 MB, free: 232 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.08539, allocations: 19.86 kB / 397.8 MB, free: 212 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.08552, allocations: 19.84 kB / 397.8 MB, free: 192 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.08587, allocations: 87.8 kB / 397.9 MB, free: 104 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.08606, allocations: 131.7 kB / 398 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.08622, allocations: 53.7 kB / 398.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.673e-05/0.08633, allocations: 47.64 kB / 398.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.08641, allocations: 39.72 kB / 398.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.08644, allocations: 4 kB / 398.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.08646, allocations: 4 kB / 398.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.08652, allocations: 19.86 kB / 398.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.08658, allocations: 77.31 kB / 398.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.08672, allocations: 127.7 kB / 398.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.08673, allocations: 4 kB / 398.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.08674, allocations: 0 / 398.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.08675, allocations: 0 / 398.4 MB, free: 15.6 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.0004935/0.08725, allocations: 423 kB / 398.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.08729, allocations: 12.03 kB / 398.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.08735, allocations: 24.66 kB / 398.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.08761, allocations: 240.9 kB / 399.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.08764, allocations: 12.12 kB / 399.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.08767, allocations: 11.98 kB / 399.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.08823, allocations: 311.8 kB / 399.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.08825, allocations: 4 kB / 399.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.08828, allocations: 8 kB / 399.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.08829, allocations: 0 / 399.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.0885, allocations: 79.89 kB / 399.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.08893, allocations: 431.4 kB / 399.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.08938, allocations: 306 kB / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.08958, allocations: 128.3 kB / 400.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.08961, allocations: 7.984 kB / 400.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.08964, allocations: 42.5 kB / 400.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.08965, allocations: 0 / 400.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005351/0.09019, allocations: 233.2 kB / 400.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/0.0903, allocations: 196.3 kB / 400.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.09046, allocations: 186.9 kB / 401 MB, free: 12.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.09049, allocations: 33.64 kB / 401 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.09054, allocations: 100.5 kB / 401.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.09057, allocations: 15.84 kB / 401.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.09061, allocations: 25.7 kB / 401.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.09071, allocations: 322.8 kB / 401.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.09078, allocations: 27.98 kB / 401.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.09091, allocations: 143.4 kB / 401.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.09111, allocations: 182.4 kB / 401.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.09112, allocations: 0 / 401.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002544/0.09138, allocations: 177.1 kB / 402 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.0914, allocations: 11.98 kB / 402 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.09142, allocations: 4 kB / 402 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.09143, allocations: 4 kB / 402 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.09156, allocations: 43.92 kB / 402 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.09157, allocations: 4.5 kB / 402 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.09167, allocations: 19.84 kB / 402.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.09169, allocations: 11.98 kB / 402.1 MB, free: 11.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001008/0.0918, allocations: 141.7 kB / 402.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.09207, allocations: 149.4 kB / 402.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.09212, allocations: 25.42 kB / 402.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.09213, allocations: 4 kB / 402.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.09214, allocations: 0 / 402.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.09215, allocations: 7.938 kB / 402.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.09239, allocations: 217.4 kB / 402.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.0924, allocations: 4 kB / 402.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.09254, allocations: 47.91 kB / 402.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.09255, allocations: 0 / 402.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.09257, allocations: 4 kB / 402.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.09258, allocations: 4 kB / 402.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.09258, allocations: 4 kB / 402.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.09295, allocations: 376.1 kB / 403 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.09303, allocations: 112.8 kB / 403.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.09306, allocations: 11.98 kB / 403.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.09321, allocations: 11.94 kB / 403.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.09325, allocations: 15.92 kB / 403.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.09327, allocations: 12 kB / 403.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.008e-05/0.09336, allocations: 133.1 kB / 403.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09337, allocations: 0 / 403.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000303/0.09367, allocations: 28 kB / 403.4 MB, free: 10.04 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: 1 (hold.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.295e-05/0.09376, allocations: 91.25 kB / 403.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.09403, allocations: 124.3 kB / 403.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.09404, allocations: 0 / 403.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.0941, allocations: 21.05 kB / 403.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.09474, allocations: 116.5 kB / 403.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.0953, allocations: 388.2 kB / 404.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.09558, allocations: 0.7318 MB / 404.8 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.09564, allocations: 13.55 kB / 404.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.09568, allocations: 23.42 kB / 404.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09569, allocations: 0 / 404.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of Templates: time 0.003705/0.0994, allocations: 1.585 MB / 406.4 MB, free: 6.891 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches