Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 107.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 213.8 kB / 18.92 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 247.1 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.001871, allocations: 61.06 kB / 307.1 MB, free: 0.8867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1219, allocations: 50.54 MB / 357.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003306/0.1253, allocations: 1.523 MB / 359.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002051/0.1255, allocations: 27.91 kB / 359.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.1256, allocations: 0 / 359.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.337e-05/0.1257, allocations: 3.938 kB / 359.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.1257, allocations: 8 kB / 359.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.126, allocations: 15.98 kB / 359.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.438e-05/0.1261, allocations: 35.91 kB / 359.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1262, allocations: 8 kB / 359.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.1263, allocations: 15.92 kB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.1263, allocations: 7.938 kB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.1264, allocations: 4 kB / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.1264, allocations: 4 kB / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.1264, allocations: 11.92 kB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.1265, allocations: 19.92 kB / 359.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.1266, allocations: 15.97 kB / 359.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1266, allocations: 0 / 359.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1266, allocations: 3.938 kB / 359.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1266, allocations: 0 / 359.4 MB, free: 12.64 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.0005355/0.1271, allocations: 343.7 kB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.1272, allocations: 12.03 kB / 359.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1272, allocations: 8.844 kB / 359.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.1275, allocations: 172.3 kB / 359.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.1275, allocations: 8.375 kB / 359.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1275, allocations: 8.312 kB / 359.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.1279, allocations: 119.8 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1279, allocations: 192 / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.128, allocations: 7.938 kB / 360 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.128, allocations: 0 / 360 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1281, allocations: 23.97 kB / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1283, allocations: 165.6 kB / 360.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1285, allocations: 58.48 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.303e-05/0.1286, allocations: 24.92 kB / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.1286, allocations: 0 / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.1286, allocations: 38.55 kB / 360.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1286, allocations: 0 / 360.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003076/0.129, allocations: 81.59 kB / 360.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.129, allocations: 59.34 kB / 360.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1291, allocations: 101.9 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1292, allocations: 25.7 kB / 360.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.1292, allocations: 92.11 kB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.1292, allocations: 4 kB / 360.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1293, allocations: 13.72 kB / 360.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1294, allocations: 314.8 kB / 361 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.1295, allocations: 15.98 kB / 361 MB, free: 10.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.1295, allocations: 23.44 kB / 361.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.1296, allocations: 39.38 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1296, allocations: 4 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.966e-05/0.1297, allocations: 61.53 kB / 361.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1297, allocations: 4 kB / 361.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1297, allocations: 4.125 kB / 361.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1298, allocations: 4 kB / 361.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.1298, allocations: 8.312 kB / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1299, allocations: 7.984 kB / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.1299, allocations: 7.922 kB / 361.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1299, allocations: 8.125 kB / 361.2 MB, free: 10.55 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: 2 ($CLKPRE.step.counter,step.counter) * 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 0.0001051/0.13, allocations: 113.8 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.1302, allocations: 65.67 kB / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.1302, allocations: 7.844 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1302, allocations: 3.938 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1302, allocations: 0 / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1302, allocations: 4 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.1304, allocations: 165.5 kB / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1304, allocations: 0 / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.1305, allocations: 11.98 kB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1305, allocations: 4 kB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1305, allocations: 3.938 kB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1305, allocations: 0 / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1305, allocations: 0 / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1307, allocations: 89.11 kB / 361.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.1308, allocations: 81.11 kB / 361.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1308, allocations: 7.922 kB / 361.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.1308, allocations: 4 kB / 361.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.1309, allocations: 4 kB / 361.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1309, allocations: 0 / 361.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.011e-05/0.1309, allocations: 83.28 kB / 361.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1309, allocations: 0 / 361.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001851/0.1311, allocations: 4 kB / 361.9 MB, free: 9.801 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: 1 (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 0.0001355/0.1313, allocations: 103.2 kB / 362 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1314, allocations: 28.17 kB / 362 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1314, allocations: 4.062 kB / 362 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.1315, allocations: 3.938 kB / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1319, allocations: 35.39 kB / 362 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.1323, allocations: 163.1 kB / 362.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1326, allocations: 0.6807 MB / 362.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.1326, allocations: 7.438 kB / 362.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1327, allocations: 4 kB / 362.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of Templates: time 0.002507/0.1352, allocations: 0.6286 MB / 363.5 MB, free: 8.09 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches