Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001615, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.9 MB, free: 8.883 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 66.95 kB / 306.9 MB, free: 0.7578 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1062, allocations: 50.54 MB / 357.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003082/0.1094, allocations: 1.547 MB / 359 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003712/0.1098, allocations: 139.6 kB / 359.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.1099, allocations: 7.938 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.296e-05/0.11, allocations: 0 / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.1101, allocations: 8 kB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1103, allocations: 35.91 kB / 359.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.183e-05/0.1104, allocations: 31.86 kB / 359.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1106, allocations: 15.98 kB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.1106, allocations: 11.94 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.127e-05/0.1106, allocations: 15.91 kB / 359.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1107, allocations: 0 / 359.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.1107, allocations: 4 kB / 359.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.1107, allocations: 19.92 kB / 359.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.1108, allocations: 15.88 kB / 359.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.308e-05/0.1109, allocations: 27.95 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1109, allocations: 0 / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1109, allocations: 3.938 kB / 359.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1109, allocations: 3.938 kB / 359.3 MB, free: 12.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004524/0.1113, allocations: 367.5 kB / 359.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1114, allocations: 8.031 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.1114, allocations: 8.844 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.1116, allocations: 188.2 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1116, allocations: 384 / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1117, allocations: 4.375 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.1119, allocations: 117.5 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1119, allocations: 192 / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.112, allocations: 11.94 kB / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.112, allocations: 0 / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.112, allocations: 19.98 kB / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.1123, allocations: 253.7 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1125, allocations: 142.2 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.1126, allocations: 33.75 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1126, allocations: 4 kB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1127, allocations: 34.5 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1127, allocations: 0 / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002246/0.1129, allocations: 65.77 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.113, allocations: 85.08 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1131, allocations: 133.7 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1131, allocations: 29.7 kB / 360.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.1131, allocations: 88.12 kB / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.555e-06/0.1132, allocations: 0 / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1132, allocations: 17.72 kB / 360.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1133, allocations: 314.8 kB / 361.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.1134, allocations: 19.92 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.1134, allocations: 23.44 kB / 361.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.938e-05/0.1135, allocations: 43.36 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1135, allocations: 4 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001124/0.1136, allocations: 69.47 kB / 361.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1136, allocations: 4 kB / 361.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1136, allocations: 0 / 361.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1136, allocations: 4 kB / 361.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.176e-05/0.1137, allocations: 3.938 kB / 361.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1137, allocations: 3.984 kB / 361.4 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.1137, allocations: 11.92 kB / 361.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1137, allocations: 4.125 kB / 361.4 MB, free: 9.953 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.458e-05/0.1138, allocations: 125.7 kB / 361.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.1139, allocations: 49.59 kB / 361.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.1139, allocations: 7.906 kB / 361.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1139, allocations: 4 kB / 361.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1139, allocations: 0 / 361.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1139, allocations: 0 / 361.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.1141, allocations: 173.5 kB / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1141, allocations: 0 / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-05/0.1141, allocations: 8 kB / 361.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1141, allocations: 0 / 361.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1142, allocations: 4 kB / 361.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1142, allocations: 0 / 361.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.1142, allocations: 7.984 kB / 361.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.1143, allocations: 156.2 kB / 361.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1144, allocations: 89.09 kB / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1144, allocations: 12 kB / 362 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.1145, allocations: 0 / 362 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.1145, allocations: 7.938 kB / 362 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1145, allocations: 0 / 362 MB, free: 9.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.276e-05/0.1146, allocations: 106.1 kB / 362.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1146, allocations: 0 / 362.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1148, allocations: 8 kB / 362.1 MB, free: 9.102 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001032/0.1149, allocations: 99.25 kB / 362.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.115, allocations: 24.3 kB / 362.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1151, allocations: 3.938 kB / 362.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/0.1151, allocations: 4 kB / 362.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1154, allocations: 32.09 kB / 362.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.1158, allocations: 198 kB / 362.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.116, allocations: 0.6887 MB / 363.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.1161, allocations: 11.44 kB / 363.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1161, allocations: 3.938 kB / 363.2 MB, free: 7.973 MB / 302.1 MB Notification: Performance of Templates: time 0.001957/0.118, allocations: 0.6712 MB / 363.9 MB, free: 7.305 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches