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.00154/0.00154, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 63.3 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1239, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003425/0.1274, allocations: 1.493 MB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004279/0.1278, allocations: 143.5 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.128, allocations: 3.938 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.045e-05/0.128, allocations: 3.938 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.1282, allocations: 3.938 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1285, allocations: 39.88 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.1286, allocations: 31.92 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1287, allocations: 19.98 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.6e-05/0.1287, allocations: 11.92 kB / 360.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.1288, allocations: 19.86 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1288, allocations: 0 / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-06/0.1288, allocations: 4 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.1289, allocations: 8 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.1289, allocations: 27.8 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1291, allocations: 47.81 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1291, allocations: 4 kB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1291, allocations: 0 / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1291, allocations: 0 / 360.8 MB, free: 11.49 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.000448/0.1295, allocations: 367.2 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1296, allocations: 8.031 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.1296, allocations: 8.844 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1299, allocations: 184.2 kB / 361.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.1299, allocations: 12.38 kB / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1299, allocations: 4.375 kB / 361.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.1302, allocations: 105.6 kB / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1303, allocations: 4.188 kB / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1303, allocations: 3.938 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1303, allocations: 4 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.719e-05/0.1304, allocations: 19.92 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.1307, allocations: 261.7 kB / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1309, allocations: 142.2 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.131, allocations: 25.78 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.131, allocations: 0 / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.131, allocations: 42.55 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.131, allocations: 3.938 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002529/0.1313, allocations: 65.62 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.1314, allocations: 85.23 kB / 362.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1315, allocations: 137.2 kB / 362.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1315, allocations: 25.7 kB / 362.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.1316, allocations: 88.06 kB / 362.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.1316, allocations: 8 kB / 362.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.1317, allocations: 17.72 kB / 362.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1318, allocations: 314.8 kB / 362.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.1318, allocations: 4 kB / 362.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.1319, allocations: 35.44 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.057e-05/0.132, allocations: 39.36 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.132, allocations: 0 / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001121/0.1321, allocations: 69.47 kB / 362.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1321, allocations: 8 kB / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1321, allocations: 3.938 kB / 362.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1322, allocations: 0 / 362.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.469e-05/0.1322, allocations: 7.984 kB / 362.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1322, allocations: 3.938 kB / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.1322, allocations: 8.219 kB / 362.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1322, allocations: 4 kB / 362.8 MB, free: 9.117 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.996e-05/0.1323, allocations: 125.8 kB / 363 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.1324, allocations: 53.58 kB / 363 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.1325, allocations: 7.906 kB / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1325, allocations: 0 / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1325, allocations: 0 / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1325, allocations: 0 / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.1327, allocations: 177.6 kB / 363.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1327, allocations: 0 / 363.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-06/0.1327, allocations: 0 / 363.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1327, allocations: 7.984 kB / 363.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1327, allocations: 4 kB / 363.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1327, allocations: 3.938 kB / 363.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1327, allocations: 0 / 363.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.1329, allocations: 164.2 kB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.133, allocations: 85.09 kB / 363.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.133, allocations: 0 / 363.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.1331, allocations: 8 kB / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1331, allocations: 7.984 kB / 363.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1331, allocations: 0 / 363.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.64e-05/0.1332, allocations: 99.27 kB / 363.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1332, allocations: 0 / 363.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1334, allocations: 11.94 kB / 363.6 MB, free: 8.266 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.0001178/0.1335, allocations: 103.2 kB / 363.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1337, allocations: 27.98 kB / 363.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1337, allocations: 0 / 363.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/0.1337, allocations: 7.938 kB / 363.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1341, allocations: 27.95 kB / 363.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.1344, allocations: 158.2 kB / 363.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1347, allocations: 0.6888 MB / 364.6 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.1347, allocations: 4 kB / 364.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.1347, allocations: 15.38 kB / 364.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1347, allocations: 0 / 364.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of Templates: time 0.002712/0.1375, allocations: 497.5 kB / 365.1 MB, free: 6.699 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 -s gbode -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