Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007318/0.0007319, allocations: 102.6 kB / 16.07 MB, free: 32 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.0007817/0.0007818, allocations: 181.5 kB / 16.96 MB, free: 6.879 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.239/1.239, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.06365/0.06365, 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.000666/0.000666, allocations: 24.61 kB / 345.2 MB, free: 20.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07633/0.077, allocations: 50.39 MB / 395.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold): time 0.001652/0.07869, allocations: 1.314 MB / 396.9 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007711/0.07949, allocations: 0.5192 MB / 397.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.07959, allocations: 4 kB / 397.4 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.07964, allocations: 11.86 kB / 397.4 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.07977, allocations: 15.86 kB / 397.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.08002, allocations: 43.89 kB / 397.5 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.866e-05/0.08012, allocations: 47.86 kB / 397.5 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.08022, allocations: 23.97 kB / 397.5 MB, free: 464 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.552e-05/0.08029, allocations: 31.8 kB / 397.6 MB, free: 432 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.08035, allocations: 15.86 kB / 397.6 MB, free: 416 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.08037, allocations: 4 kB / 397.6 MB, free: 412 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.08039, allocations: 0 / 397.6 MB, free: 412 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.08044, allocations: 15.92 kB / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.0805, allocations: 49.52 kB / 397.6 MB, free: 340 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.651e-05/0.08059, allocations: 55.72 kB / 397.7 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.0806, allocations: 4 kB / 397.7 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08061, allocations: 0 / 397.7 MB, free: 280 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.08061, allocations: 4 kB / 397.7 MB, free: 276 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004111/0.08103, allocations: 371.5 kB / 398.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.08107, allocations: 8.031 kB / 398.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.08111, allocations: 8.844 kB / 398.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.0813, allocations: 208.5 kB / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.08132, allocations: 4.375 kB / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.08134, allocations: 4.125 kB / 398.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.08162, allocations: 138.7 kB / 398.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.08164, allocations: 0 / 398.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.08165, allocations: 0 / 398.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.08166, allocations: 0 / 398.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.08177, allocations: 35.92 kB / 398.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.0821, allocations: 291.3 kB / 398.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.08223, allocations: 98.42 kB / 398.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.08231, allocations: 47.48 kB / 398.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.08234, allocations: 4 kB / 398.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.08237, allocations: 34.5 kB / 398.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.08237, allocations: 0 / 398.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002687/0.08265, allocations: 109.9 kB / 399 MB, free: 14.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.08272, allocations: 140.5 kB / 399.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.08284, allocations: 133.8 kB / 399.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.08286, allocations: 29.7 kB / 399.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.08291, allocations: 100 kB / 399.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.08294, allocations: 7.906 kB / 399.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.08296, allocations: 13.72 kB / 399.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.08306, allocations: 318.9 kB / 399.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.761e-05/0.08311, allocations: 19.98 kB / 399.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.08317, allocations: 40.3 kB / 399.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.08329, allocations: 64.22 kB / 399.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.0833, allocations: 0 / 399.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001496/0.08345, allocations: 93.45 kB / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.08347, allocations: 4 kB / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.08348, allocations: 3.984 kB / 400 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.0835, allocations: 4 kB / 400 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.08358, allocations: 11.94 kB / 400 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.08359, allocations: 7.938 kB / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.08365, allocations: 19.86 kB / 400 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.08367, allocations: 8.156 kB / 400 MB, free: 13.6 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.344e-05/0.08375, allocations: 113.8 kB / 400.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.08383, allocations: 57.53 kB / 400.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.08386, allocations: 11.88 kB / 400.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.08387, allocations: 4 kB / 400.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.08388, allocations: 4.125 kB / 400.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.08389, allocations: 3.938 kB / 400.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.08406, allocations: 177.6 kB / 400.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.08407, allocations: 8.062 kB / 400.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.08414, allocations: 15.98 kB / 400.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.08415, allocations: 0 / 400.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.08416, allocations: 0 / 400.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.08417, allocations: 4 kB / 400.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.08417, allocations: 0 / 400.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.08436, allocations: 205.9 kB / 400.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.08443, allocations: 93 kB / 400.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.08445, allocations: 7.984 kB / 400.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.08453, allocations: 0 / 400.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.08456, allocations: 7.938 kB / 400.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.08457, allocations: 4 kB / 400.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.505e-05/0.08464, allocations: 116 kB / 400.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.08465, allocations: 0 / 400.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.08487, allocations: 8 kB / 400.9 MB, free: 12.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.808e-05/0.08495, allocations: 91.25 kB / 401 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.0851, allocations: 51.84 kB / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.08511, allocations: 8.312 kB / 401 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.08516, allocations: 8 kB / 401 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.08552, allocations: 44.44 kB / 401.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.08587, allocations: 239.9 kB / 401.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.08612, allocations: 0.6965 MB / 402 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.08615, allocations: 11.77 kB / 402 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.08619, allocations: 11.44 kB / 402 MB, free: 11.45 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08619, allocations: 4 kB / 402 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Templates: time 0.002347/0.08854, allocations: 0.6521 MB / 402.7 MB, free: 10.79 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches