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.001222/0.001222, allocations: 96.36 kB / 15.73 MB, free: 440 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.001552/0.001552, allocations: 177.8 kB / 16.61 MB, free: 6.426 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.467/1.467, allocations: 205.4 MB / 222.8 MB, free: 5.633 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.1006/0.1006, allocations: 12.6 MB / 283.6 MB, free: 8.707 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.001191/0.001191, allocations: 28 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1231, allocations: 50.37 MB / 394.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold): time 0.002827/0.126, allocations: 1.561 MB / 396.4 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1279, allocations: 0.9057 MB / 397.4 MB, free: 336 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.1281, allocations: 0 / 397.4 MB, free: 336 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007736/0.1288, allocations: 139.5 kB / 397.5 MB, free: 196 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1292, allocations: 95.78 kB / 397.6 MB, free: 100 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.1297, allocations: 155.6 kB / 397.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.13, allocations: 119.8 kB / 397.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1301, allocations: 25.55 kB / 397.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1303, allocations: 67.69 kB / 397.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1304, allocations: 59.7 kB / 398 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1304, allocations: 4 kB / 398 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1305, allocations: 31.92 kB / 398 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.1306, allocations: 43.83 kB / 398.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.1307, allocations: 49.64 kB / 398.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1309, allocations: 152 kB / 398.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1309, allocations: 0 / 398.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1309, allocations: 0 / 398.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1309, allocations: 0 / 398.3 MB, free: 15.4 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.0007569/0.1317, allocations: 0.4883 MB / 398.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1317, allocations: 12.03 kB / 398.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.1318, allocations: 19.72 kB / 398.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.1322, allocations: 257.7 kB / 399 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1322, allocations: 7.938 kB / 399.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1322, allocations: 8 kB / 399.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.1325, allocations: 163.5 kB / 399.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1326, allocations: 4 kB / 399.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1326, allocations: 4 kB / 399.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1326, allocations: 0 / 399.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.862e-05/0.1327, allocations: 43.89 kB / 399.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.1333, allocations: 458.4 kB / 399.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.1336, allocations: 130.5 kB / 399.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.1336, allocations: 4 kB / 399.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.1338, allocations: 93.16 kB / 399.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.1338, allocations: 0 / 399.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004343/0.1343, allocations: 161.6 kB / 400.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.1344, allocations: 162.2 kB / 400.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.1348, allocations: 268.9 kB / 400.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1348, allocations: 25.7 kB / 400.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1349, allocations: 124.4 kB / 400.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.135, allocations: 15.88 kB / 400.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.135, allocations: 4 kB / 400.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1352, allocations: 334.8 kB / 401 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.1352, allocations: 20 kB / 401 MB, free: 12.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1353, allocations: 74.84 kB / 401.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.1354, allocations: 35.97 kB / 401.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1354, allocations: 0 / 401.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002183/0.1357, allocations: 125.4 kB / 401.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.1357, allocations: 5.25 kB / 401.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1357, allocations: 4 kB / 401.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1357, allocations: 0 / 401.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.1358, allocations: 16.14 kB / 401.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1359, allocations: 7.938 kB / 401.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.1359, allocations: 19.8 kB / 401.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.136, allocations: 8 kB / 401.3 MB, free: 12 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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample.y,hold.u,hold.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.1361, allocations: 141.9 kB / 401.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.725e-05/0.1362, allocations: 73.44 kB / 401.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.1363, allocations: 25.7 kB / 401.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1363, allocations: 8 kB / 401.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1363, allocations: 4 kB / 401.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1363, allocations: 0 / 401.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1365, allocations: 237.4 kB / 401.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1365, allocations: 0 / 401.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.1366, allocations: 4 kB / 401.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1366, allocations: 0 / 401.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1366, allocations: 4 kB / 401.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.1366, allocations: 7.922 kB / 401.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1366, allocations: 4 kB / 401.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1369, allocations: 200.5 kB / 402 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.265e-05/0.137, allocations: 112.8 kB / 402.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.137, allocations: 11.95 kB / 402.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.1371, allocations: 11.98 kB / 402.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.1371, allocations: 4 kB / 402.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.1372, allocations: 4 kB / 402.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.1373, allocations: 192.5 kB / 402.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1374, allocations: 11.88 kB / 402.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1376, allocations: 39.89 kB / 402.4 MB, free: 10.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008939/0.1385, allocations: 415.9 kB / 402.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1387, allocations: 79.84 kB / 402.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1388, allocations: 0 / 402.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.1388, allocations: 31.92 kB / 402.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1392, allocations: 69 kB / 403 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.1397, allocations: 361.2 kB / 403.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1401, allocations: 0.7322 MB / 404.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.563e-05/0.1401, allocations: 33.52 kB / 404.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.1402, allocations: 15.44 kB / 404.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1402, allocations: 0 / 404.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of Templates: time 0.005757/0.146, allocations: 2.303 MB / 406.4 MB, free: 6.707 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