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.001417/0.001416, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.648/1.648, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 75.75 kB / 307 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1307, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003393/0.1341, allocations: 1.453 MB / 359 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.1344, allocations: 31.92 kB / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.1345, allocations: 3.938 kB / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.1345, allocations: 3.984 kB / 359 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.1346, allocations: 3.938 kB / 359 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1348, allocations: 27.97 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1349, allocations: 27.94 kB / 359.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1351, allocations: 11.92 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.053e-05/0.1351, allocations: 11.94 kB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.1352, allocations: 15.92 kB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1352, allocations: 11.98 kB / 359.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.1352, allocations: 4 kB / 359.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.1352, allocations: 7.938 kB / 359.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1353, allocations: 15.92 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.584e-05/0.1354, allocations: 19.91 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1354, allocations: 0 / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1354, allocations: 4 kB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1354, allocations: 0 / 359.2 MB, free: 12.37 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.0005417/0.136, allocations: 343.7 kB / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.136, allocations: 12.03 kB / 359.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1361, allocations: 8.844 kB / 359.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1363, allocations: 184.3 kB / 359.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.1364, allocations: 384 / 359.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.1364, allocations: 384 / 359.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.1368, allocations: 119.8 kB / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1368, allocations: 4.125 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1368, allocations: 3.938 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1368, allocations: 8 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.137, allocations: 19.98 kB / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.1371, allocations: 165.5 kB / 360 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1373, allocations: 58.53 kB / 360.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.1374, allocations: 24.92 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1374, allocations: 4 kB / 360.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.1375, allocations: 34.56 kB / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1375, allocations: 0 / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003087/0.1378, allocations: 85.53 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.1379, allocations: 55.41 kB / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.832e-05/0.138, allocations: 105.8 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.138, allocations: 25.7 kB / 360.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.1381, allocations: 80.14 kB / 360.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.1381, allocations: 11.98 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.1382, allocations: 17.72 kB / 360.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1383, allocations: 314.8 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.1383, allocations: 4 kB / 360.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.1384, allocations: 31.42 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.1384, allocations: 39.38 kB / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1384, allocations: 0 / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001007/0.1385, allocations: 65.53 kB / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1386, allocations: 7.938 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1386, allocations: 7.875 kB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1386, allocations: 4 kB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.1387, allocations: 8 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1387, allocations: 4.125 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.1387, allocations: 0 / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1387, allocations: 4 kB / 361 MB, free: 10.29 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.0001115/0.1389, allocations: 122.1 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.139, allocations: 61.61 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.1391, allocations: 11.84 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1391, allocations: 4 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1391, allocations: 4 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1391, allocations: 0 / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.1392, allocations: 165.6 kB / 361.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1392, allocations: 0 / 361.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/0.1393, allocations: 8 kB / 361.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1393, allocations: 0 / 361.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1393, allocations: 3.938 kB / 361.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1393, allocations: 0 / 361.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.1393, allocations: 3.984 kB / 361.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.1395, allocations: 86.8 kB / 361.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.1396, allocations: 81.39 kB / 361.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1396, allocations: 7.938 kB / 361.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.1397, allocations: 7.984 kB / 361.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-06/0.1397, allocations: 3.938 kB / 361.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1397, allocations: 3.984 kB / 361.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.183e-05/0.1397, allocations: 83.28 kB / 361.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1397, allocations: 0 / 361.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.14, allocations: 4 kB / 361.7 MB, free: 9.535 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.0001308/0.1401, allocations: 103.2 kB / 361.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.1403, allocations: 35.92 kB / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1403, allocations: 0 / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.1403, allocations: 0 / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1406, allocations: 27.92 kB / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.141, allocations: 125.4 kB / 361.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1414, allocations: 0.6887 MB / 362.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.888e-05/0.1414, allocations: 256 / 362.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.1414, allocations: 11.44 kB / 362.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1414, allocations: 0 / 362.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of Templates: time 0.003158/0.1446, allocations: 430.5 kB / 363.1 MB, free: 8.074 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/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