Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001262/0.001262, allocations: 114.8 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 42.16 kB / 302.1 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1073, allocations: 49.45 MB / 351.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003512/0.1109, allocations: 1.899 MB / 353.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1126, allocations: 1.068 MB / 354.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.1128, allocations: 7.938 kB / 354.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.1135, allocations: 147.5 kB / 354.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1138, allocations: 119.5 kB / 354.7 MB, free: 480 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.1144, allocations: 198.4 kB / 354.9 MB, free: 284 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.1147, allocations: 187.5 kB / 355.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1148, allocations: 37.53 kB / 355.2 MB, free: 60 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.115, allocations: 83.62 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1151, allocations: 75.62 kB / 355.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.1151, allocations: 8 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1153, allocations: 55.97 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.1154, allocations: 51.77 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.875e-05/0.1155, allocations: 67.55 kB / 355.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1158, allocations: 211.3 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1158, allocations: 0 / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1158, allocations: 0 / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1158, allocations: 4 kB / 355.7 MB, free: 15.51 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.0008318/0.1166, allocations: 0.5156 MB / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1167, allocations: 11.89 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.1168, allocations: 20.75 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.1172, allocations: 270.7 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1172, allocations: 4.375 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1172, allocations: 16.12 kB / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.1176, allocations: 159.5 kB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1176, allocations: 0 / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1176, allocations: 8 kB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1177, allocations: 4 kB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1178, allocations: 39.91 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.1183, allocations: 446.6 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.1186, allocations: 134.5 kB / 357.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1187, allocations: 63.42 kB / 357.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1187, allocations: 8 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.1189, allocations: 96.94 kB / 357.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.1189, allocations: 0 / 357.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004033/0.1193, allocations: 161.5 kB / 357.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.1195, allocations: 162.2 kB / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.1198, allocations: 265 kB / 358 MB, free: 12.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1198, allocations: 29.7 kB / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.1199, allocations: 120.3 kB / 358.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.1199, allocations: 15.89 kB / 358.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.12, allocations: 33.89 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1201, allocations: 334.8 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.1202, allocations: 19.98 kB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1203, allocations: 86.77 kB / 358.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1204, allocations: 85.12 kB / 358.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.1205, allocations: 4 kB / 358.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002255/0.1207, allocations: 129.5 kB / 358.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1207, allocations: 8.031 kB / 358.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1207, allocations: 4 kB / 358.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1207, allocations: 0 / 358.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.1208, allocations: 12 kB / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1209, allocations: 3.938 kB / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.1209, allocations: 23.77 kB / 358.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.121, allocations: 8 kB / 358.9 MB, free: 11.89 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,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.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.0001505/0.1211, allocations: 146.3 kB / 359.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/0.1212, allocations: 73.38 kB / 359.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.1213, allocations: 25.7 kB / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1213, allocations: 4 kB / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1213, allocations: 320 / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1213, allocations: 7.922 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.1215, allocations: 233.5 kB / 359.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1215, allocations: 0 / 359.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.1216, allocations: 11.98 kB / 359.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1216, allocations: 0 / 359.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1216, allocations: 4.062 kB / 359.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1216, allocations: 4 kB / 359.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1216, allocations: 3.938 kB / 359.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.1219, allocations: 167.4 kB / 359.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.122, allocations: 108.8 kB / 359.7 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.1221, allocations: 8 kB / 359.7 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.1222, allocations: 7.984 kB / 359.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.1222, allocations: 7.938 kB / 359.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1222, allocations: 11.94 kB / 359.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.1225, allocations: 196.5 kB / 359.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1225, allocations: 0 / 359.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1228, allocations: 39.89 kB / 360 MB, free: 10.74 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,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.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.001167/0.1239, allocations: 423.8 kB / 360.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.1242, allocations: 71.91 kB / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1242, allocations: 4 kB / 360.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.1243, allocations: 31.92 kB / 360.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1247, allocations: 74.8 kB / 360.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.1253, allocations: 326 kB / 360.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1256, allocations: 0.7319 MB / 361.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.364e-05/0.1257, allocations: 33.47 kB / 361.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.1257, allocations: 15.44 kB / 361.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1257, allocations: 0 / 361.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of Templates: time 0.006566/0.1323, allocations: 2.52 MB / 364.2 MB, free: 6.648 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches