Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001483/0.001483, allocations: 112 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 213.8 kB / 18.27 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.5 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 59.39 kB / 306.5 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1426, allocations: 50.54 MB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003818/0.1465, allocations: 1.75 MB / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005676/0.1471, allocations: 163.5 kB / 359 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1472, allocations: 8 kB / 359 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.595e-05/0.1473, allocations: 7.922 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1474, allocations: 3.938 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.1477, allocations: 43.91 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1478, allocations: 47.91 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.148, allocations: 39.95 kB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.148, allocations: 19.88 kB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.1481, allocations: 31.84 kB / 359.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1481, allocations: 4 kB / 359.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.1482, allocations: 4 kB / 359.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.1482, allocations: 11.94 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.1483, allocations: 39.73 kB / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1484, allocations: 71.66 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1485, allocations: 0 / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1485, allocations: 0 / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1485, allocations: 4 kB / 359.3 MB, free: 11.87 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006184/0.1491, allocations: 387.3 kB / 359.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.1492, allocations: 12.02 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1492, allocations: 8.844 kB / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1495, allocations: 200 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1495, allocations: 4.359 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1495, allocations: 8.375 kB / 359.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.1499, allocations: 170.3 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.15, allocations: 192 / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.15, allocations: 3.938 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.15, allocations: 4 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1501, allocations: 39.91 kB / 360.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.1506, allocations: 361.8 kB / 360.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.1509, allocations: 123.8 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.151, allocations: 50.62 kB / 360.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.151, allocations: 11.92 kB / 360.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1511, allocations: 30.56 kB / 360.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1511, allocations: 4 kB / 360.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003503/0.1514, allocations: 129.6 kB / 360.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.1515, allocations: 110.8 kB / 360.9 MB, free: 10 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1517, allocations: 136.6 kB / 361 MB, free: 9.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1517, allocations: 29.7 kB / 361.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.1518, allocations: 96.38 kB / 361.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.1518, allocations: 11.91 kB / 361.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.1519, allocations: 21.72 kB / 361.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.152, allocations: 318.8 kB / 361.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.1521, allocations: 15.98 kB / 361.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.1522, allocations: 75.72 kB / 361.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1523, allocations: 95.53 kB / 361.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1523, allocations: 0 / 361.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.1525, allocations: 105.4 kB / 361.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1526, allocations: 8.281 kB / 361.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1526, allocations: 4.188 kB / 361.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1526, allocations: 3.984 kB / 361.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.1527, allocations: 23.88 kB / 361.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1527, allocations: 4 kB / 361.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.1528, allocations: 11.98 kB / 361.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1528, allocations: 4 kB / 361.9 MB, free: 8.961 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001133/0.1529, allocations: 129.7 kB / 362 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.153, allocations: 81.5 kB / 362.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.1531, allocations: 12.72 kB / 362.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1531, allocations: 7.938 kB / 362.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1531, allocations: 3.984 kB / 362.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1531, allocations: 0 / 362.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.1534, allocations: 185.6 kB / 362.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1534, allocations: 0 / 362.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.1535, allocations: 19.98 kB / 362.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1535, allocations: 0 / 362.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1535, allocations: 4 kB / 362.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1535, allocations: 3.938 kB / 362.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1535, allocations: 4 kB / 362.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1539, allocations: 312.3 kB / 362.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.154, allocations: 96.98 kB / 362.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.154, allocations: 7.938 kB / 362.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.1541, allocations: 4 kB / 362.7 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1541, allocations: 7.938 kB / 362.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1542, allocations: 4 kB / 362.7 MB, free: 7.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.955e-05/0.1542, allocations: 107.2 kB / 362.8 MB, free: 7.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1542, allocations: 4 kB / 362.8 MB, free: 7.879 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1545, allocations: 8 kB / 362.8 MB, free: 7.871 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001303/0.1547, allocations: 103.2 kB / 362.9 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1549, allocations: 63.84 kB / 363 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1549, allocations: 0 / 363 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.1549, allocations: 11.98 kB / 363 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.1554, allocations: 40.05 kB / 363 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.1559, allocations: 232.3 kB / 363.3 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1562, allocations: 0.7041 MB / 364 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.031e-05/0.1563, allocations: 12.67 kB / 364 MB, free: 6.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.1563, allocations: 11.44 kB / 364 MB, free: 6.629 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1563, allocations: 0 / 364 MB, free: 6.629 MB / 302.1 MB Notification: Performance of Templates: time 0.003448/0.1598, allocations: 0.6727 MB / 364.7 MB, free: 5.965 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches