Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 118.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 208.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 55.84 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.123, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002702/0.1258, allocations: 1.418 MB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000207/0.126, allocations: 27.91 kB / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.1261, allocations: 0 / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.1261, allocations: 3.938 kB / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.1262, allocations: 4 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1264, allocations: 23.91 kB / 360.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.257e-05/0.1265, allocations: 27.92 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.1266, allocations: 12 kB / 360.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.1267, allocations: 11.98 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.1267, allocations: 15.91 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1267, allocations: 4 kB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.1267, allocations: 0 / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.1268, allocations: 11.94 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.1268, allocations: 11.88 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.917e-05/0.1269, allocations: 39.88 kB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1269, allocations: 0 / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1269, allocations: 0 / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1269, allocations: 0 / 360.5 MB, free: 11.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004072/0.1273, allocations: 339.4 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1274, allocations: 12.03 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.1274, allocations: 4.844 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1276, allocations: 180.4 kB / 361 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.1277, allocations: 384 / 361 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1277, allocations: 8.359 kB / 361 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.128, allocations: 111.9 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.128, allocations: 8.125 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.128, allocations: 3.938 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1281, allocations: 3.938 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1282, allocations: 23.92 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.1283, allocations: 157.7 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1285, allocations: 46.56 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.767e-05/0.1285, allocations: 28.92 kB / 361.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.1286, allocations: 0 / 361.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1286, allocations: 34.56 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1286, allocations: 3.938 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002459/0.1289, allocations: 81.5 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1289, allocations: 55.41 kB / 361.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.129, allocations: 105.8 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.129, allocations: 33.7 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.1291, allocations: 80.14 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.1291, allocations: 4 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.1291, allocations: 13.72 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1292, allocations: 318.8 kB / 362.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.1293, allocations: 4 kB / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.1293, allocations: 31.38 kB / 362.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.1294, allocations: 39.42 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1294, allocations: 4 kB / 362.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.285e-05/0.1295, allocations: 61.48 kB / 362.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1295, allocations: 12.12 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1295, allocations: 3.938 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1295, allocations: 3.984 kB / 362.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.1296, allocations: 4 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1296, allocations: 7.984 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/0.1296, allocations: 0 / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.1296, allocations: 0 / 362.3 MB, free: 9.691 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.147e-05/0.1297, allocations: 121.7 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.1298, allocations: 57.67 kB / 362.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.1299, allocations: 19.38 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1299, allocations: 4 kB / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1299, allocations: 0 / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1299, allocations: 240 / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.451e-05/0.13, allocations: 157.7 kB / 362.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.13, allocations: 0 / 362.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.13, allocations: 7.984 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1301, allocations: 0 / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1301, allocations: 7.875 kB / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1301, allocations: 0 / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1301, allocations: 0 / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.1302, allocations: 96.95 kB / 362.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.1303, allocations: 85.03 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1303, allocations: 4.312 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.807e-05/0.1303, allocations: 4 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-06/0.1303, allocations: 4 kB / 362.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1303, allocations: 4 kB / 362.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.086e-05/0.1304, allocations: 83.27 kB / 362.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1304, allocations: 4 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001836/0.1306, allocations: 4 kB / 363 MB, free: 8.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.691e-05/0.1307, allocations: 99.25 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1308, allocations: 31.92 kB / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1308, allocations: 0 / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.1308, allocations: 0 / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1311, allocations: 23.98 kB / 363.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.1313, allocations: 123.4 kB / 363.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.1316, allocations: 0.6841 MB / 363.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.484e-05/0.1316, allocations: 0 / 363.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.1316, allocations: 11.38 kB / 363.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1316, allocations: 0 / 363.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of Templates: time 0.002374/0.134, allocations: 367.9 kB / 364.3 MB, free: 7.551 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches