Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample.y|shiftSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample.y|shiftSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007229/0.0007229, 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.0007432/0.0007432, 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.227/1.227, allocations: 205.4 MB / 223.1 MB, free: 5.516 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.06006/0.06006, allocations: 12.6 MB / 284 MB, free: 8.586 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.0006281/0.0006281, allocations: 28 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07263/0.07326, allocations: 50.38 MB / 395.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold): time 0.00193/0.07523, allocations: 1.599 MB / 397.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.07652, allocations: 0.9521 MB / 398.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.07662, allocations: 4 kB / 398.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.07712, allocations: 143.5 kB / 398.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.07735, allocations: 103.7 kB / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.07777, allocations: 171.7 kB / 398.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.07798, allocations: 183.5 kB / 398.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.07808, allocations: 29.83 kB / 398.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.77e-05/0.07817, allocations: 67.58 kB / 398.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.974e-05/0.07828, allocations: 71.62 kB / 398.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.07831, allocations: 0 / 398.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.07842, allocations: 51.91 kB / 398.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.07848, allocations: 43.84 kB / 399 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.07855, allocations: 81.25 kB / 399 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.07877, allocations: 199.3 kB / 399.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.07879, allocations: 0 / 399.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.07879, allocations: 0 / 399.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.0788, allocations: 0 / 399.2 MB, free: 14.71 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.0005986/0.0794, allocations: 0.4924 MB / 399.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.07944, allocations: 8.031 kB / 399.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.07949, allocations: 24.66 kB / 399.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.07976, allocations: 262.9 kB / 400 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.07979, allocations: 384 / 400 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.07981, allocations: 16.12 kB / 400 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.0801, allocations: 167.4 kB / 400.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.08011, allocations: 0 / 400.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.08014, allocations: 8 kB / 400.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.08015, allocations: 0 / 400.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.08024, allocations: 35.92 kB / 400.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.08069, allocations: 446.5 kB / 400.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.08091, allocations: 150.4 kB / 400.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.08101, allocations: 55.42 kB / 400.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.08103, allocations: 0 / 400.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.08119, allocations: 101.1 kB / 401 MB, free: 12.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.0812, allocations: 0 / 401 MB, free: 12.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003228/0.08153, allocations: 157.3 kB / 401.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.08161, allocations: 154.2 kB / 401.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.08185, allocations: 268.9 kB / 401.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.08189, allocations: 30.08 kB / 401.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.08196, allocations: 120.4 kB / 401.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.08198, allocations: 23.73 kB / 401.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.08202, allocations: 21.7 kB / 401.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.08213, allocations: 330.8 kB / 402 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.0822, allocations: 23.98 kB / 402.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.508e-05/0.08229, allocations: 82.8 kB / 402.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.08243, allocations: 85.08 kB / 402.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.08244, allocations: 32 / 402.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001957/0.08264, allocations: 129.6 kB / 402.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.08266, allocations: 9.25 kB / 402.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.08267, allocations: 64 / 402.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.08269, allocations: 8 kB / 402.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.08277, allocations: 19.86 kB / 402.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.08278, allocations: 4 kB / 402.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.08286, allocations: 12 kB / 402.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.08288, allocations: 11.98 kB / 402.4 MB, free: 11.14 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.0001033/0.08299, allocations: 145.8 kB / 402.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/0.08308, allocations: 65.44 kB / 402.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.08313, allocations: 25.7 kB / 402.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.08314, allocations: 4 kB / 402.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.08315, allocations: 3.938 kB / 402.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.08316, allocations: 3.938 kB / 402.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.08335, allocations: 237.5 kB / 402.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.08336, allocations: 0 / 402.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.08339, allocations: 12 kB / 402.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.0834, allocations: 0 / 402.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.08341, allocations: 4 kB / 402.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.08342, allocations: 3.938 kB / 402.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.08343, allocations: 3.984 kB / 402.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.08365, allocations: 171.4 kB / 403.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.08374, allocations: 108.9 kB / 403.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.08377, allocations: 8 kB / 403.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.08384, allocations: 7.984 kB / 403.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.08388, allocations: 7.938 kB / 403.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.08391, allocations: 8 kB / 403.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.08407, allocations: 196.4 kB / 403.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.252e-06/0.08408, allocations: 4 kB / 403.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.08433, allocations: 39.84 kB / 403.5 MB, free: 9.988 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.0007981/0.08513, allocations: 419.8 kB / 403.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.08533, allocations: 71.91 kB / 403.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.08534, allocations: 0 / 403.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.08542, allocations: 36.23 kB / 404 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.08579, allocations: 61.08 kB / 404 MB, free: 9.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.08627, allocations: 380.9 kB / 404.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.08655, allocations: 0.7361 MB / 405.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.47e-05/0.08662, allocations: 25.8 kB / 405.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.08667, allocations: 19.42 kB / 405.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.08668, allocations: 0 / 405.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of Templates: time 0.004936/0.09162, allocations: 2.381 MB / 407.6 MB, free: 5.805 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches