Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 102.7 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.00127/0.00127, allocations: 183.1 kB / 16.97 MB, free: 6.875 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.238/1.238, allocations: 205.4 MB / 223.1 MB, free: 5.746 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.06349/0.06349, allocations: 12.6 MB / 284 MB, free: 8.82 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.0006691/0.0006692, allocations: 24.56 kB / 345.2 MB, free: 20.94 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07268/0.07336, allocations: 50.39 MB / 395.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold): time 0.002148/0.07554, allocations: 1.599 MB / 397.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.0771, allocations: 1.034 MB / 398.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.07724, allocations: 4 kB / 398.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.07752, allocations: 67.78 kB / 398.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.07774, allocations: 79.73 kB / 398.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.07835, allocations: 207.6 kB / 398.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.07857, allocations: 163.6 kB / 398.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.07868, allocations: 29.55 kB / 398.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.0788, allocations: 75.56 kB / 398.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.07892, allocations: 71.69 kB / 398.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.07895, allocations: 4 kB / 398.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.07909, allocations: 51.89 kB / 398.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.07917, allocations: 47.84 kB / 399 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.07928, allocations: 101.1 kB / 399.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.07956, allocations: 227.5 kB / 399.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.07957, allocations: 3.938 kB / 399.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07958, allocations: 0 / 399.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.07959, allocations: 0 / 399.3 MB, free: 14.68 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006007/0.0802, allocations: 0.5001 MB / 399.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.08024, allocations: 12.03 kB / 399.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.0803, allocations: 20.66 kB / 399.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.08061, allocations: 291.5 kB / 400.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.08064, allocations: 12.31 kB / 400.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.08067, allocations: 12.12 kB / 400.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.08099, allocations: 164.4 kB / 400.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.08101, allocations: 8 kB / 400.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.08103, allocations: 4 kB / 400.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.08104, allocations: 0 / 400.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.08115, allocations: 39.92 kB / 400.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.08171, allocations: 482.4 kB / 400.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.08196, allocations: 134.5 kB / 401 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.08206, allocations: 59.42 kB / 401 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.0821, allocations: 4 kB / 401 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.08229, allocations: 101 kB / 401.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.08231, allocations: 4 kB / 401.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.000361/0.08267, allocations: 165.2 kB / 401.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.08277, allocations: 187.9 kB / 401.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.08307, allocations: 330.7 kB / 401.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.0831, allocations: 29.7 kB / 401.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.08319, allocations: 132.7 kB / 401.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.08322, allocations: 27.67 kB / 402 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.08326, allocations: 17.72 kB / 402 MB, free: 11.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.08337, allocations: 342.7 kB / 402.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.08345, allocations: 23.98 kB / 402.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.08356, allocations: 95.7 kB / 402.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.08372, allocations: 93.08 kB / 402.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.08373, allocations: 4 kB / 402.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002277/0.08396, allocations: 133.4 kB / 402.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.08398, allocations: 7.938 kB / 402.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.084, allocations: 7.984 kB / 402.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.08401, allocations: 0 / 402.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.08412, allocations: 19.94 kB / 402.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.08414, allocations: 7.984 kB / 402.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.08422, allocations: 15.84 kB / 402.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.08424, allocations: 4.156 kB / 402.7 MB, free: 10.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample.y,hold.y,hold.u,shiftSample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001259/0.08437, allocations: 161.7 kB / 402.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.08446, allocations: 69.41 kB / 403 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.08451, allocations: 29.7 kB / 403 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.08452, allocations: 0 / 403 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.08454, allocations: 4 kB / 403 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.08455, allocations: 3.938 kB / 403 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.08474, allocations: 241.6 kB / 403.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.08476, allocations: 8.062 kB / 403.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.08483, allocations: 24.23 kB / 403.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.08484, allocations: 0 / 403.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.08486, allocations: 4 kB / 403.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.08486, allocations: 4 kB / 403.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.08487, allocations: 0 / 403.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.08512, allocations: 191.2 kB / 403.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.08522, allocations: 120.8 kB / 403.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.08525, allocations: 4 kB / 403.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.08533, allocations: 11.98 kB / 403.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.08538, allocations: 11.92 kB / 403.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.0854, allocations: 4 kB / 403.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.08562, allocations: 241.9 kB / 403.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08562, allocations: 0 / 403.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.08588, allocations: 39.98 kB / 403.9 MB, free: 9.598 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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold.y,hold.u,shiftSample.y,sample.y,shiftSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008171/0.0867, allocations: 431.8 kB / 404.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.08691, allocations: 91.77 kB / 404.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.08693, allocations: 0 / 404.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.08701, allocations: 31.98 kB / 404.4 MB, free: 9.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.08741, allocations: 73.52 kB / 404.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.08795, allocations: 425.4 kB / 404.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.08823, allocations: 0.7478 MB / 405.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.649e-05/0.08832, allocations: 25.55 kB / 405.7 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.08837, allocations: 27.42 kB / 405.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.08837, allocations: 0 / 405.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of Templates: time 0.005301/0.09368, allocations: 2.767 MB / 408.5 MB, free: 4.93 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches