Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001168/0.001168, allocations: 192 kB / 18.63 MB, free: 4.375 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.528/1.528, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 46.98 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1337, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002914/0.1366, allocations: 1.496 MB / 353 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003759/0.1371, allocations: 149 kB / 353.1 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.1371, allocations: 0 / 353.1 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.166e-05/0.1372, allocations: 11.92 kB / 353.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.1374, allocations: 7.938 kB / 353.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1376, allocations: 35.83 kB / 353.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.418e-05/0.1377, allocations: 35.86 kB / 353.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1378, allocations: 8 kB / 353.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.1379, allocations: 15.92 kB / 353.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.113e-05/0.1379, allocations: 15.94 kB / 353.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1379, allocations: 4 kB / 353.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-06/0.1379, allocations: 0 / 353.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.138, allocations: 19.91 kB / 353.3 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.138, allocations: 19.88 kB / 353.3 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1382, allocations: 43.77 kB / 353.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1382, allocations: 0 / 353.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1382, allocations: 0 / 353.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1382, allocations: 4 kB / 353.4 MB, free: 1.82 MB / 286.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.0005308/0.1387, allocations: 359.2 kB / 353.7 MB, free: 1.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1388, allocations: 15.89 kB / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1388, allocations: 12.84 kB / 353.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.1391, allocations: 196.1 kB / 353.9 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.1391, allocations: 384 / 353.9 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1391, allocations: 8.375 kB / 353.9 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.1394, allocations: 113.6 kB / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1394, allocations: 192 / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1394, allocations: 3.938 kB / 354.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1394, allocations: 3.938 kB / 354.1 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.411e-05/0.1395, allocations: 19.92 kB / 354.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.1399, allocations: 257.7 kB / 354.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.14, allocations: 142.2 kB / 354.5 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.938e-05/0.1401, allocations: 25.77 kB / 354.5 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.1401, allocations: 0 / 354.5 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1402, allocations: 38.56 kB / 354.5 MB, free: 448 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1402, allocations: 0 / 354.5 MB, free: 448 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002449/0.1404, allocations: 73.73 kB / 354.6 MB, free: 368 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.1405, allocations: 81.11 kB / 354.7 MB, free: 268 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1406, allocations: 135.6 kB / 354.8 MB, free: 124 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1407, allocations: 29.7 kB / 354.8 MB, free: 88 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.1408, allocations: 84.14 kB / 354.9 MB, free: 0 / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.1408, allocations: 4.047 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.1408, allocations: 21.78 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.141, allocations: 314.8 kB / 355.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.327e-05/0.141, allocations: 7.984 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.1411, allocations: 35.38 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.197e-05/0.1411, allocations: 43.42 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1412, allocations: 0 / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001081/0.1413, allocations: 69.41 kB / 355.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1413, allocations: 8 kB / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1413, allocations: 0 / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1413, allocations: 128 / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.097e-05/0.1413, allocations: 8 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1414, allocations: 0 / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.1414, allocations: 7.938 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1414, allocations: 0 / 355.4 MB, free: 15.45 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 9.031e-05/0.1415, allocations: 133.6 kB / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.1416, allocations: 49.59 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.1416, allocations: 7.906 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1416, allocations: 0 / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1416, allocations: 4 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1416, allocations: 4 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.1418, allocations: 169.6 kB / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1418, allocations: 0 / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-06/0.1418, allocations: 0 / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1418, allocations: 4 kB / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.1419, allocations: 0 / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1419, allocations: 0 / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1419, allocations: 0 / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.142, allocations: 172.2 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.1421, allocations: 93.03 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1421, allocations: 4 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.1422, allocations: 0 / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1422, allocations: 0 / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1422, allocations: 7.938 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.215e-05/0.1423, allocations: 104.2 kB / 356.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1423, allocations: 0 / 356.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1425, allocations: 8 kB / 356.2 MB, free: 14.59 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 9.894e-05/0.1426, allocations: 99.25 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1428, allocations: 27.92 kB / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1428, allocations: 0 / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.443e-05/0.1428, allocations: 4 kB / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.1431, allocations: 27.89 kB / 356.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.1434, allocations: 158.5 kB / 356.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1437, allocations: 0.6885 MB / 357.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.042e-05/0.1437, allocations: 7.984 kB / 357.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.1437, allocations: 7.438 kB / 357.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1438, allocations: 0 / 357.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of Templates: time 0.002769/0.1465, allocations: 0.4902 MB / 357.7 MB, free: 13.02 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches