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.001172/0.001172, allocations: 98.72 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 203.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002606, allocations: 4 kB / 306.6 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001864/0.1272, allocations: 1.207 MB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003813/0.1276, allocations: 135.6 kB / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.23e-05/0.1277, allocations: 4 kB / 359.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.1277, allocations: 7.922 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.1278, allocations: 0 / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1281, allocations: 35.84 kB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.312e-05/0.1282, allocations: 23.97 kB / 359.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1284, allocations: 11.98 kB / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.1284, allocations: 19.91 kB / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.1284, allocations: 7.938 kB / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1285, allocations: 0 / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.1285, allocations: 4 kB / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.1286, allocations: 15.92 kB / 359.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.1286, allocations: 29.64 kB / 359.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.617e-05/0.1287, allocations: 27.95 kB / 359.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1287, allocations: 0 / 359.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1287, allocations: 4 kB / 359.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.1288, allocations: 0 / 359.6 MB, free: 12.37 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.0007312/0.1295, allocations: 355.4 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.1296, allocations: 12.03 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.1296, allocations: 7.906 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1299, allocations: 190.8 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.1299, allocations: 0 / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1299, allocations: 4 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.1303, allocations: 117 kB / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1303, allocations: 0 / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1303, allocations: 4 kB / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1303, allocations: 0 / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.574e-05/0.1304, allocations: 19.92 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.1308, allocations: 265.8 kB / 360.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.131, allocations: 138.3 kB / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1311, allocations: 0 / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1311, allocations: 38.62 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1311, allocations: 0 / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002535/0.1314, allocations: 69.53 kB / 360.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.1314, allocations: 85.09 kB / 360.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1316, allocations: 132.5 kB / 361 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1316, allocations: 25.7 kB / 361 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.1317, allocations: 96.11 kB / 361.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.1317, allocations: 0 / 361.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.1317, allocations: 4 kB / 361.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1319, allocations: 318.8 kB / 361.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.331e-05/0.1319, allocations: 4 kB / 361.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.1319, allocations: 31.44 kB / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.693e-05/0.132, allocations: 11.98 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.132, allocations: 4 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001057/0.1321, allocations: 65.58 kB / 361.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1321, allocations: 4 kB / 361.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1321, allocations: 0 / 361.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1322, allocations: 16 kB / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-05/0.1322, allocations: 0 / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1322, allocations: 4 kB / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.1322, allocations: 3.938 kB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.1323, allocations: 7.938 kB / 361.6 MB, free: 10.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.8e-05/0.1324, allocations: 121.8 kB / 361.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.701e-05/0.1324, allocations: 53.55 kB / 361.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.1325, allocations: 12.23 kB / 361.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1325, allocations: 7.938 kB / 361.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1325, allocations: 0 / 361.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1325, allocations: 3.984 kB / 361.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1327, allocations: 161.7 kB / 361.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1327, allocations: 0 / 361.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-06/0.1327, allocations: 4 kB / 361.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1327, allocations: 3.953 kB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1328, allocations: 0 / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1328, allocations: 0 / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1328, allocations: 4 kB / 361.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.1329, allocations: 178 kB / 362.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.133, allocations: 96.95 kB / 362.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.133, allocations: 0 / 362.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.1331, allocations: 7.938 kB / 362.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1331, allocations: 0 / 362.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1332, allocations: 4 kB / 362.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.855e-05/0.1332, allocations: 107.2 kB / 362.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1332, allocations: 0 / 362.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.1335, allocations: 4 kB / 362.3 MB, free: 9.234 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001061/0.1336, allocations: 95.25 kB / 362.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1337, allocations: 27.92 kB / 362.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1337, allocations: 256 / 362.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.1337, allocations: 8 kB / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.134, allocations: 24.02 kB / 362.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.1343, allocations: 165.4 kB / 362.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.1349, allocations: 0.7043 MB / 363.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.1349, allocations: 0 / 363.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.1349, allocations: 11.44 kB / 363.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1349, allocations: 0 / 363.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of Templates: time 0.002531/0.1375, allocations: 429.8 kB / 363.8 MB, free: 7.719 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches