Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.8 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1223, allocations: 50.54 MB / 358.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.004252/0.1266, allocations: 1.49 MB / 359.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005489/0.1272, allocations: 147.5 kB / 360.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1273, allocations: 3.938 kB / 360.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.654e-05/0.1274, allocations: 3.938 kB / 360.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1275, allocations: 3.938 kB / 360.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.1279, allocations: 39.89 kB / 360.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.128, allocations: 27.92 kB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1282, allocations: 15.98 kB / 360.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/0.1282, allocations: 23.91 kB / 360.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.1283, allocations: 15.88 kB / 360.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1283, allocations: 4 kB / 360.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.1283, allocations: 0 / 360.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.1284, allocations: 11.98 kB / 360.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.1285, allocations: 19.81 kB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1286, allocations: 43.81 kB / 360.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1286, allocations: 0 / 360.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1287, allocations: 0 / 360.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1287, allocations: 0 / 360.3 MB, free: 12.06 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.000635/0.1293, allocations: 375.5 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1294, allocations: 8.031 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.1294, allocations: 8.844 kB / 360.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1297, allocations: 192.1 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1298, allocations: 8.375 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1298, allocations: 4.375 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.1302, allocations: 117.6 kB / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1302, allocations: 192 / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1302, allocations: 3.938 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1302, allocations: 4 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.1303, allocations: 15.94 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.1309, allocations: 257.7 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.1312, allocations: 146.2 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.562e-05/0.1313, allocations: 25.77 kB / 361.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1314, allocations: 4 kB / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.1314, allocations: 34.56 kB / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.1315, allocations: 0 / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003641/0.1318, allocations: 65.62 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002306/0.1321, allocations: 85.09 kB / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1323, allocations: 140.6 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1324, allocations: 29.7 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.1325, allocations: 80.14 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.1325, allocations: 8.125 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.1326, allocations: 17.72 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.1328, allocations: 318.8 kB / 362.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.1329, allocations: 4 kB / 362.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.1329, allocations: 35.36 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1331, allocations: 43.38 kB / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1331, allocations: 0 / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002053/0.1333, allocations: 69.45 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1333, allocations: 4 kB / 362.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1334, allocations: 0 / 362.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.1334, allocations: 8.125 kB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.67e-05/0.1334, allocations: 0 / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.1335, allocations: 4 kB / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.1335, allocations: 3.938 kB / 362.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1336, allocations: 4 kB / 362.4 MB, free: 9.684 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 0.000164/0.1337, allocations: 125.7 kB / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.1339, allocations: 57.81 kB / 362.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.1339, allocations: 7.891 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.134, allocations: 4 kB / 362.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.134, allocations: 4 kB / 362.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.134, allocations: 0 / 362.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.1343, allocations: 169.6 kB / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1344, allocations: 0 / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.1344, allocations: 4 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1344, allocations: 0 / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1344, allocations: 0 / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1344, allocations: 0 / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.1345, allocations: 4 kB / 362.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.1348, allocations: 168.2 kB / 362.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.135, allocations: 93.09 kB / 363 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.135, allocations: 3.984 kB / 363 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1351, allocations: 0 / 363 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.1352, allocations: 4 kB / 363 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1352, allocations: 0 / 363 MB, free: 8.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1354, allocations: 99.27 kB / 363.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1354, allocations: 4 kB / 363.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000444/0.1359, allocations: 8 kB / 363.1 MB, free: 8.832 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.0001741/0.136, allocations: 103.2 kB / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.1363, allocations: 27.92 kB / 363.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1363, allocations: 3.938 kB / 363.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/0.1364, allocations: 4 kB / 363.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.137, allocations: 37.39 kB / 363.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.1376, allocations: 186.7 kB / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/0.1383, allocations: 0.6885 MB / 364.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.1383, allocations: 7.438 kB / 364.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1384, allocations: 0 / 364.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of Templates: time 0.003709/0.1421, allocations: 0.689 MB / 364.8 MB, free: 7.031 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches