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.0009096/0.0009097, allocations: 92.42 kB / 16.65 MB, free: 6.59 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.00126/0.00126, allocations: 182.9 kB / 17.56 MB, free: 6.203 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.556/1.556, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003173, allocations: 8 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1253, allocations: 50.41 MB / 351.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001903/0.1272, allocations: 1.222 MB / 353.1 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.1276, allocations: 139.6 kB / 353.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.1277, allocations: 0 / 353.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.1278, allocations: 7.938 kB / 353.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1279, allocations: 7.984 kB / 353.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1281, allocations: 35.91 kB / 353.2 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.943e-05/0.1282, allocations: 27.92 kB / 353.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.1283, allocations: 12 kB / 353.3 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.1284, allocations: 7.938 kB / 353.3 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.212e-05/0.1284, allocations: 15.86 kB / 353.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1284, allocations: 0 / 353.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-06/0.1284, allocations: 0 / 353.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.1285, allocations: 19.97 kB / 353.3 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.1285, allocations: 45.52 kB / 353.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.395e-05/0.1286, allocations: 35.83 kB / 353.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1286, allocations: 0 / 353.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1287, allocations: 0 / 353.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1287, allocations: 0 / 353.4 MB, free: 1.895 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.0004302/0.1291, allocations: 355.6 kB / 353.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1291, allocations: 8.031 kB / 353.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.1292, allocations: 8.844 kB / 353.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1294, allocations: 200.1 kB / 354 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1294, allocations: 384 / 354 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.1294, allocations: 4.375 kB / 354 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.1297, allocations: 113.5 kB / 354.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1297, allocations: 4.188 kB / 354.1 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1297, allocations: 3.938 kB / 354.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1297, allocations: 4 kB / 354.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.048e-05/0.1298, allocations: 15.94 kB / 354.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.1301, allocations: 257.8 kB / 354.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1303, allocations: 146.2 kB / 354.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.1304, allocations: 33.75 kB / 354.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1304, allocations: 0 / 354.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1304, allocations: 30.56 kB / 354.6 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1304, allocations: 7.938 kB / 354.6 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.1307, allocations: 73.53 kB / 354.6 MB, free: 448 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.1307, allocations: 85.03 kB / 354.7 MB, free: 344 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1308, allocations: 129.8 kB / 354.9 MB, free: 204 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1309, allocations: 25.7 kB / 354.9 MB, free: 172 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.1309, allocations: 88.14 kB / 355 MB, free: 80 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/0.1309, allocations: 0 / 355 MB, free: 80 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.131, allocations: 21.84 kB / 355 MB, free: 52 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1311, allocations: 314.8 kB / 355.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.049e-05/0.1311, allocations: 4 kB / 355.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.1312, allocations: 35.42 kB / 355.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.807e-05/0.1313, allocations: 43.38 kB / 355.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1313, allocations: 0 / 355.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001072/0.1314, allocations: 65.47 kB / 355.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1314, allocations: 8 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1314, allocations: 8.109 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1314, allocations: 0 / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-05/0.1315, allocations: 4 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1315, allocations: 3.938 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.1315, allocations: 11.94 kB / 355.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1315, allocations: 0 / 355.5 MB, free: 15.52 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 8.019e-05/0.1316, allocations: 117.8 kB / 355.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.1317, allocations: 49.59 kB / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.1317, allocations: 11.91 kB / 355.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1317, allocations: 7.984 kB / 355.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1318, allocations: 0 / 355.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1318, allocations: 7.938 kB / 355.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1319, allocations: 169.6 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1319, allocations: 0 / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-06/0.132, allocations: 3.938 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.132, allocations: 4 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.132, allocations: 0 / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.132, allocations: 0 / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.132, allocations: 0 / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.1321, allocations: 172.2 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.1322, allocations: 85.09 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.1322, allocations: 0 / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.1323, allocations: 3.984 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.1323, allocations: 4 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1323, allocations: 4.375 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.828e-05/0.1324, allocations: 106.4 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1326, allocations: 7.938 kB / 356.2 MB, free: 14.68 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.0001059/0.1327, allocations: 107.1 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1329, allocations: 23.98 kB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1329, allocations: 256 / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.1329, allocations: 15.92 kB / 356.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1333, allocations: 26.84 kB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.1336, allocations: 169.5 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.1339, allocations: 0.6966 MB / 357.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.714e-05/0.1339, allocations: 0 / 357.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.1339, allocations: 11.44 kB / 357.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1339, allocations: 3.938 kB / 357.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of Templates: time 0.002375/0.1363, allocations: 439 kB / 357.7 MB, free: 13.14 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/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