Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001495, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001756/0.001756, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.536/1.536, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003015/0.003015, allocations: 59.19 kB / 307.9 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1326, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003634/0.1363, allocations: 1.461 MB / 359.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000219/0.1366, allocations: 27.86 kB / 359.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.1367, allocations: 4 kB / 359.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.1367, allocations: 3.938 kB / 359.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.1368, allocations: 11.92 kB / 359.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.1371, allocations: 23.36 kB / 360 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.828e-05/0.1372, allocations: 27.92 kB / 360 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1373, allocations: 19.97 kB / 360 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.1373, allocations: 11.94 kB / 360 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.1374, allocations: 11.92 kB / 360 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1374, allocations: 0 / 360 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.1374, allocations: 8 kB / 360 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.1375, allocations: 7.938 kB / 360 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.1375, allocations: 11.94 kB / 360.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.1376, allocations: 35.88 kB / 360.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1376, allocations: 0 / 360.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1377, allocations: 0 / 360.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1377, allocations: 0 / 360.1 MB, free: 12.29 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.0006331/0.1383, allocations: 343.7 kB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.1384, allocations: 8.031 kB / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.1384, allocations: 8.844 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1387, allocations: 180.4 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.1387, allocations: 384 / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1388, allocations: 8.312 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.1393, allocations: 119.8 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1393, allocations: 192 / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1393, allocations: 7.938 kB / 360.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1394, allocations: 0 / 360.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.1395, allocations: 23.98 kB / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.1398, allocations: 161.6 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.14, allocations: 54.55 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1402, allocations: 32.92 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1402, allocations: 0 / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.1402, allocations: 34.5 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1403, allocations: 4 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003927/0.1407, allocations: 81.59 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.1407, allocations: 51.41 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.1409, allocations: 105.8 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1409, allocations: 25.7 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.1409, allocations: 92.08 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.141, allocations: 0 / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.141, allocations: 21.7 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1412, allocations: 314.8 kB / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.1412, allocations: 8 kB / 361.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.1412, allocations: 31.73 kB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.084e-05/0.1413, allocations: 39.38 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1413, allocations: 0 / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001087/0.1414, allocations: 69.53 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1414, allocations: 4 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1415, allocations: 7.938 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1415, allocations: 0 / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.1416, allocations: 8 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1416, allocations: 0 / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.1416, allocations: 8.062 kB / 361.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1416, allocations: 4 kB / 361.9 MB, free: 10.22 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.0001007/0.1417, allocations: 117.8 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.1419, allocations: 65.66 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.1419, allocations: 7.844 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.142, allocations: 4.234 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.142, allocations: 0 / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.142, allocations: 3.984 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1421, allocations: 161.6 kB / 362.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1421, allocations: 4 kB / 362.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.1422, allocations: 8 kB / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1422, allocations: 0 / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1422, allocations: 3.938 kB / 362.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1422, allocations: 0 / 362.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1422, allocations: 0 / 362.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.1424, allocations: 97.03 kB / 362.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.1425, allocations: 77.11 kB / 362.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1425, allocations: 7.938 kB / 362.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.1426, allocations: 11.98 kB / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-06/0.1426, allocations: 0 / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1426, allocations: 0 / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.326e-05/0.1426, allocations: 83.28 kB / 362.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1426, allocations: 4 kB / 362.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001917/0.1428, allocations: 4 kB / 362.6 MB, free: 9.461 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.0001266/0.143, allocations: 95.25 kB / 362.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.1431, allocations: 35.91 kB / 362.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.1431, allocations: 4 kB / 362.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.1432, allocations: 0 / 362.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1435, allocations: 36.06 kB / 362.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.1439, allocations: 159.6 kB / 362.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1443, allocations: 0.6846 MB / 363.6 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.1443, allocations: 11.69 kB / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1443, allocations: 0 / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of Templates: time 0.002389/0.1467, allocations: 0.6187 MB / 364.2 MB, free: 7.762 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches