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.001106/0.001106, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001051/0.001051, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.427/1.427, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009571/0.0009571, allocations: 51.23 kB / 301.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.1007, allocations: 49.44 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003867/0.1046, allocations: 1.911 MB / 352.6 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1066, allocations: 1.06 MB / 353.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1068, allocations: 7.938 kB / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000658/0.1075, allocations: 147.5 kB / 353.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.1078, allocations: 119.5 kB / 354 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.1085, allocations: 202.9 kB / 354.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.1088, allocations: 183.5 kB / 354.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1089, allocations: 41.53 kB / 354.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1091, allocations: 75.64 kB / 354.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1092, allocations: 71.69 kB / 354.5 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.1093, allocations: 8 kB / 354.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1095, allocations: 59.91 kB / 354.6 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.1095, allocations: 39.84 kB / 354.6 MB, free: 488 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1096, allocations: 75.48 kB / 354.7 MB, free: 412 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.11, allocations: 211.6 kB / 354.9 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.11, allocations: 0 / 354.9 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.11, allocations: 0 / 354.9 MB, free: 200 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.1101, allocations: 4 kB / 354.9 MB, free: 196 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000898/0.111, allocations: 0.504 MB / 355.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.111, allocations: 15.89 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.1111, allocations: 16.75 kB / 355.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.1115, allocations: 270.7 kB / 355.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1115, allocations: 8.375 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1115, allocations: 8.125 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.1119, allocations: 178.7 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1119, allocations: 0 / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1119, allocations: 4 kB / 355.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.112, allocations: 0 / 355.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1121, allocations: 39.92 kB / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.1127, allocations: 446.6 kB / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.113, allocations: 134.5 kB / 356.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.412e-05/0.1131, allocations: 51.42 kB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.1131, allocations: 15.98 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.1133, allocations: 96.95 kB / 356.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/0.1133, allocations: 0 / 356.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004781/0.1138, allocations: 157.6 kB / 356.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.1139, allocations: 166.3 kB / 357 MB, free: 13.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.1142, allocations: 261 kB / 357.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1143, allocations: 29.7 kB / 357.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/0.1144, allocations: 120.4 kB / 357.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1144, allocations: 23.78 kB / 357.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.1145, allocations: 29.72 kB / 357.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1146, allocations: 338.8 kB / 357.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.1147, allocations: 23.98 kB / 357.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1149, allocations: 82.73 kB / 357.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.115, allocations: 89.11 kB / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.115, allocations: 3.938 kB / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002445/0.1153, allocations: 129.4 kB / 358.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1153, allocations: 4 kB / 358.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1153, allocations: 4.156 kB / 358.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1153, allocations: 4 kB / 358.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.1154, allocations: 19.92 kB / 358.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1154, allocations: 0 / 358.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.1155, allocations: 19.78 kB / 358.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1156, allocations: 4 kB / 358.2 MB, free: 12.58 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.0001469/0.1157, allocations: 146.3 kB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.1158, allocations: 73.47 kB / 358.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.1159, allocations: 21.7 kB / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1159, allocations: 4 kB / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1159, allocations: 0 / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1159, allocations: 3.938 kB / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1162, allocations: 233.5 kB / 358.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1162, allocations: 320 / 358.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.1162, allocations: 8 kB / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1162, allocations: 0 / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1162, allocations: 4 kB / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1162, allocations: 7.938 kB / 358.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1163, allocations: 4.031 kB / 358.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1165, allocations: 171.4 kB / 358.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1166, allocations: 116.8 kB / 358.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.1167, allocations: 0 / 358.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.1168, allocations: 8 kB / 358.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.1168, allocations: 15.92 kB / 359 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1168, allocations: 4 kB / 359 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1171, allocations: 200.4 kB / 359.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1171, allocations: 0 / 359.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1174, allocations: 31.91 kB / 359.2 MB, free: 11.43 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.000997/0.1184, allocations: 426.4 kB / 359.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.1186, allocations: 91.72 kB / 359.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1186, allocations: 4 kB / 359.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.1187, allocations: 27.98 kB / 359.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.1192, allocations: 63.47 kB / 359.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.1199, allocations: 367.8 kB / 360.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1202, allocations: 0.7319 MB / 360.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.1203, allocations: 23.42 kB / 360.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1203, allocations: 0 / 360.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of Templates: time 0.005095/0.1254, allocations: 2.677 MB / 363.6 MB, free: 7.141 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 -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