Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009177/0.0009178, allocations: 93.91 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.7 MB / 247.5 MB, free: 9.336 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002244/0.0002245, allocations: 4 kB / 308.4 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.09949, allocations: 51.53 MB / 359.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00226/0.1018, allocations: 1.619 MB / 361.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1036, allocations: 1.173 MB / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1038, allocations: 0 / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.1043, allocations: 143.6 kB / 362.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1046, allocations: 139.6 kB / 363 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.1051, allocations: 147.7 kB / 363.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1053, allocations: 195.4 kB / 363.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1054, allocations: 41.62 kB / 363.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.1055, allocations: 71.64 kB / 363.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1056, allocations: 67.62 kB / 363.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1057, allocations: 4 kB / 363.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1058, allocations: 39.92 kB / 363.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.1059, allocations: 43.83 kB / 363.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.1059, allocations: 93.19 kB / 363.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1061, allocations: 163.9 kB / 363.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1062, allocations: 0 / 363.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1062, allocations: 4 kB / 363.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.1062, allocations: 0 / 363.8 MB, free: 9.047 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.0006276/0.1068, allocations: 498.5 kB / 364.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1068, allocations: 12.02 kB / 364.3 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.1069, allocations: 24.66 kB / 364.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1072, allocations: 266.8 kB / 364.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1072, allocations: 4.375 kB / 364.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1073, allocations: 12.12 kB / 364.6 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.1076, allocations: 163.5 kB / 364.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1076, allocations: 0 / 364.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1076, allocations: 4 kB / 364.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1076, allocations: 4 kB / 364.8 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1077, allocations: 39.91 kB / 364.8 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.1082, allocations: 454.5 kB / 365.3 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.1085, allocations: 138.5 kB / 365.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.1086, allocations: 55.42 kB / 365.5 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1086, allocations: 4 kB / 365.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.1088, allocations: 93.03 kB / 365.6 MB, free: 7.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.1088, allocations: 0 / 365.6 MB, free: 7.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.000355/0.1091, allocations: 161.5 kB / 365.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.1092, allocations: 166.3 kB / 365.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.1095, allocations: 273 kB / 366.2 MB, free: 6.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1095, allocations: 29.7 kB / 366.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.1096, allocations: 124.3 kB / 366.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.1096, allocations: 19.8 kB / 366.3 MB, free: 6.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.1097, allocations: 17.72 kB / 366.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1098, allocations: 334.8 kB / 366.7 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.1099, allocations: 27.98 kB / 366.7 MB, free: 5.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.1099, allocations: 74.86 kB / 366.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1101, allocations: 93.3 kB / 366.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1101, allocations: 0 / 366.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002099/0.1103, allocations: 129.4 kB / 367 MB, free: 5.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1103, allocations: 4 kB / 367 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1104, allocations: 160 / 367 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1104, allocations: 8 kB / 367 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.1105, allocations: 15.98 kB / 367 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1105, allocations: 3.938 kB / 367 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.217e-05/0.1106, allocations: 23.78 kB / 367 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1106, allocations: 4 kB / 367.1 MB, free: 5.457 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.0001113/0.1107, allocations: 141.8 kB / 367.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.1108, allocations: 77.47 kB / 367.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.1108, allocations: 25.7 kB / 367.3 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1108, allocations: 3.984 kB / 367.3 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1109, allocations: 4 kB / 367.3 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1109, allocations: 3.938 kB / 367.3 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.1111, allocations: 233.5 kB / 367.5 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1111, allocations: 0 / 367.5 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.1111, allocations: 8 kB / 367.5 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1111, allocations: 7.938 kB / 367.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1111, allocations: 0 / 367.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1112, allocations: 7.984 kB / 367.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1112, allocations: 7.969 kB / 367.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1114, allocations: 163.4 kB / 367.7 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.519e-05/0.1115, allocations: 116.7 kB / 367.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.1115, allocations: 4 kB / 367.8 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.1116, allocations: 11.98 kB / 367.9 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.1117, allocations: 11.94 kB / 367.9 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1117, allocations: 8 kB / 367.9 MB, free: 4.527 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.1119, allocations: 204.4 kB / 368.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1119, allocations: 0 / 368.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1122, allocations: 28 kB / 368.1 MB, free: 4.301 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.0009826/0.1131, allocations: 432.8 kB / 368.5 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.1134, allocations: 75.91 kB / 368.6 MB, free: 3.938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1134, allocations: 0 / 368.6 MB, free: 3.938 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.1135, allocations: 35.92 kB / 368.6 MB, free: 3.902 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.1139, allocations: 60.89 kB / 368.7 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.1146, allocations: 415 kB / 369.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.1149, allocations: 0.7402 MB / 369.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.115, allocations: 15.44 kB / 369.8 MB, free: 2.617 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.115, allocations: 0 / 369.8 MB, free: 2.617 MB / 302.1 MB Notification: Performance of Templates: time 0.1748/0.2898, allocations: 2.713 MB / 372.6 MB, free: 18.48 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches