Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001158, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 60.17 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1356, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00355/0.1392, allocations: 1.575 MB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1404, allocations: 0.5337 MB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.1405, allocations: 4 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.814e-05/0.1406, allocations: 3.938 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.1408, allocations: 23.78 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1411, allocations: 51.83 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1412, allocations: 39.91 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.1413, allocations: 15.98 kB / 361.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1414, allocations: 31.84 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.1415, allocations: 23.86 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1415, allocations: 4 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.984e-05/0.1415, allocations: 11.94 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.1416, allocations: 15.92 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.1416, allocations: 19.81 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1418, allocations: 59.8 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1418, allocations: 0 / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1418, allocations: 3.938 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1418, allocations: 0 / 361.3 MB, free: 10.89 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004852/0.1423, allocations: 387 kB / 361.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1423, allocations: 11.97 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1425, allocations: 20.83 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1427, allocations: 194.7 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1428, allocations: 384 / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1428, allocations: 8.375 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.1431, allocations: 125.2 kB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1431, allocations: 0 / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1431, allocations: 4 kB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1431, allocations: 0 / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.1432, allocations: 23.92 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.1435, allocations: 269.7 kB / 362.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1437, allocations: 138.2 kB / 362.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.1438, allocations: 29.78 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1438, allocations: 4 kB / 362.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1439, allocations: 34.55 kB / 362.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1439, allocations: 0 / 362.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002426/0.1441, allocations: 81.52 kB / 362.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1442, allocations: 81.11 kB / 362.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1443, allocations: 146.2 kB / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1443, allocations: 29.7 kB / 362.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.1444, allocations: 84.14 kB / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1444, allocations: 4 kB / 363 MB, free: 9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.1444, allocations: 25.56 kB / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.1445, allocations: 322.8 kB / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.1446, allocations: 4 kB / 363.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.1446, allocations: 39.42 kB / 363.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.1447, allocations: 51.3 kB / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1447, allocations: 0 / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000128/0.1449, allocations: 73.83 kB / 363.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1449, allocations: 4 kB / 363.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1449, allocations: 4 kB / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1449, allocations: 4 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.145, allocations: 11.98 kB / 363.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.145, allocations: 7.938 kB / 363.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.1451, allocations: 7.891 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1451, allocations: 4 kB / 363.5 MB, free: 8.406 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.738e-05/0.1452, allocations: 125.8 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.1452, allocations: 45.69 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.1453, allocations: 16.23 kB / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1453, allocations: 0 / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1453, allocations: 0 / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1453, allocations: 4 kB / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.1455, allocations: 173.5 kB / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1455, allocations: 0 / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.1455, allocations: 11.98 kB / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1455, allocations: 3.938 kB / 363.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1456, allocations: 8 kB / 363.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1456, allocations: 0 / 363.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1456, allocations: 0 / 363.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1457, allocations: 168.2 kB / 364 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1458, allocations: 89.09 kB / 364.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1458, allocations: 0 / 364.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.1459, allocations: 8 kB / 364.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1459, allocations: 0 / 364.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.146, allocations: 4 kB / 364.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.022e-05/0.146, allocations: 110.3 kB / 364.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.146, allocations: 0 / 364.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.1463, allocations: 8 kB / 364.3 MB, free: 7.539 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.234e-05/0.1464, allocations: 103.1 kB / 364.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1465, allocations: 35.97 kB / 364.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1465, allocations: 0 / 364.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.392e-05/0.1466, allocations: 7.938 kB / 364.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.1469, allocations: 31.89 kB / 364.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.1472, allocations: 171.3 kB / 364.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1474, allocations: 0.6927 MB / 365.3 MB, free: 6.441 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.1475, allocations: 7.984 kB / 365.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.1475, allocations: 15.38 kB / 365.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1475, allocations: 0 / 365.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of Templates: time 0.002555/0.1501, allocations: 0.5293 MB / 365.8 MB, free: 5.898 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches