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.001512/0.001512, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 201.8 kB / 18.91 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 61.47 kB / 307.1 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1368, allocations: 50.53 MB / 357.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003293/0.1402, allocations: 1.527 MB / 359.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002045/0.1404, allocations: 27.92 kB / 359.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.1405, allocations: 0 / 359.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/0.1406, allocations: 7.922 kB / 359.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.088e-05/0.1406, allocations: 0 / 359.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1409, allocations: 20 kB / 359.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.634e-05/0.141, allocations: 27.92 kB / 359.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1411, allocations: 19.91 kB / 359.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.1412, allocations: 8 kB / 359.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.1412, allocations: 15.92 kB / 359.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.1413, allocations: 4 kB / 359.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.1413, allocations: 4 kB / 359.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.1413, allocations: 7.938 kB / 359.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.1414, allocations: 11.94 kB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.308e-05/0.1415, allocations: 19.95 kB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1415, allocations: 0 / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1415, allocations: 0 / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1415, allocations: 0 / 359.3 MB, free: 12.68 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.0006378/0.1421, allocations: 351.7 kB / 359.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1422, allocations: 15.97 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.1422, allocations: 4.844 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1425, allocations: 176.3 kB / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1425, allocations: 4.375 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1425, allocations: 4.375 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.1429, allocations: 119.9 kB / 360 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1429, allocations: 4.125 kB / 360 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1429, allocations: 3.938 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1429, allocations: 0 / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1431, allocations: 35.91 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.1433, allocations: 161.6 kB / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1435, allocations: 54.59 kB / 360.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.1435, allocations: 24.88 kB / 360.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.1436, allocations: 4 kB / 360.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1436, allocations: 34.56 kB / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1436, allocations: 0 / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003182/0.1439, allocations: 81.53 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.144, allocations: 55.59 kB / 360.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.1441, allocations: 105.8 kB / 360.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1441, allocations: 29.7 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.1442, allocations: 84.14 kB / 360.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.1442, allocations: 0 / 360.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1442, allocations: 17.72 kB / 360.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1444, allocations: 322.8 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.1444, allocations: 0 / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.1444, allocations: 31.44 kB / 361 MB, free: 10.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.955e-05/0.1445, allocations: 39.38 kB / 361.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1445, allocations: 0 / 361.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.774e-05/0.1446, allocations: 65.45 kB / 361.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1446, allocations: 8 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1447, allocations: 3.938 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.1447, allocations: 4.125 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.1448, allocations: 11.98 kB / 361.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1448, allocations: 4 kB / 361.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.1448, allocations: 7.938 kB / 361.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1448, allocations: 4 kB / 361.2 MB, free: 10.59 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 9.542e-05/0.1449, allocations: 109.8 kB / 361.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.1451, allocations: 69.61 kB / 361.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.1451, allocations: 7.844 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1451, allocations: 0 / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1451, allocations: 7.984 kB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1452, allocations: 0 / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1453, allocations: 157.6 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1453, allocations: 4 kB / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.1454, allocations: 8.359 kB / 361.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1454, allocations: 4 kB / 361.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1454, allocations: 7.938 kB / 361.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1454, allocations: 4 kB / 361.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1454, allocations: 3.938 kB / 361.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.1456, allocations: 89.11 kB / 361.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.1457, allocations: 81.09 kB / 361.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1457, allocations: 11.88 kB / 361.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.04e-05/0.1457, allocations: 0 / 361.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-06/0.1457, allocations: 4 kB / 361.7 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1457, allocations: 0 / 361.7 MB, free: 9.926 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.1458, allocations: 87.27 kB / 361.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1458, allocations: 0 / 361.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001896/0.146, allocations: 4 kB / 361.8 MB, free: 9.836 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.0001787/0.1462, allocations: 99.25 kB / 361.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1463, allocations: 35.92 kB / 362 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1464, allocations: 0 / 362 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.1464, allocations: 0 / 362 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.1468, allocations: 31.94 kB / 362 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.1473, allocations: 163.3 kB / 362.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.1478, allocations: 0.6768 MB / 362.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.1479, allocations: 15.44 kB / 362.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1479, allocations: 3.938 kB / 362.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of Templates: time 0.002372/0.1503, allocations: 0.6395 MB / 363.5 MB, free: 8.117 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.0.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