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.00153/0.00153, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.72 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1318, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.004038/0.1359, allocations: 1.697 MB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005394/0.1365, allocations: 163.4 kB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1366, allocations: 0 / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.131e-05/0.1367, allocations: 15.86 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1369, allocations: 7.922 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1372, allocations: 55.77 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.1373, allocations: 51.84 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1374, allocations: 39.97 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.1375, allocations: 15.92 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.1376, allocations: 31.8 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1376, allocations: 4 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.1376, allocations: 4 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.1377, allocations: 23.91 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.1377, allocations: 35.75 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1379, allocations: 71.66 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1379, allocations: 0 / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1379, allocations: 3.938 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1379, allocations: 0 / 361.1 MB, free: 11.11 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.0005837/0.1385, allocations: 391 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1385, allocations: 8.031 kB / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.1386, allocations: 8.844 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1388, allocations: 200.1 kB / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1389, allocations: 4.375 kB / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1389, allocations: 8.375 kB / 361.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.1392, allocations: 162.4 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1393, allocations: 192 / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1393, allocations: 11.88 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1393, allocations: 0 / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1394, allocations: 35.92 kB / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.1399, allocations: 377.8 kB / 362.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.1401, allocations: 115.7 kB / 362.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.1402, allocations: 62.67 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1402, allocations: 0 / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.1403, allocations: 38.56 kB / 362.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1403, allocations: 0 / 362.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003288/0.1406, allocations: 117.5 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.1407, allocations: 115 kB / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1409, allocations: 140.5 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.1409, allocations: 29.7 kB / 362.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.141, allocations: 88.14 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.141, allocations: 3.906 kB / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.141, allocations: 29.7 kB / 363 MB, free: 8.941 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1412, allocations: 314.8 kB / 363.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.626e-05/0.1412, allocations: 11.98 kB / 363.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/0.1413, allocations: 79.66 kB / 363.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1415, allocations: 87.59 kB / 363.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.1415, allocations: 7.938 kB / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.1417, allocations: 109.4 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1417, allocations: 8.188 kB / 363.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1417, allocations: 0 / 363.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1417, allocations: 7.938 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.1418, allocations: 23.98 kB / 363.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.1418, allocations: 4 kB / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.1419, allocations: 8.281 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1419, allocations: 4 kB / 363.7 MB, free: 8.219 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.0001277/0.142, allocations: 137.6 kB / 363.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.1422, allocations: 81.64 kB / 363.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.1422, allocations: 16.7 kB / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1422, allocations: 0 / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1422, allocations: 4 kB / 363.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1423, allocations: 0 / 363.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.1425, allocations: 181.6 kB / 364.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.1425, allocations: 11.94 kB / 364.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-05/0.1426, allocations: 23.92 kB / 364.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1426, allocations: 4 kB / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1426, allocations: 0 / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1427, allocations: 0 / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1427, allocations: 4 kB / 364.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.143, allocations: 316.2 kB / 364.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.1431, allocations: 97 kB / 364.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1432, allocations: 3.938 kB / 364.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.1433, allocations: 4 kB / 364.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.1433, allocations: 7.984 kB / 364.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1433, allocations: 4 kB / 364.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.958e-05/0.1434, allocations: 103.3 kB / 364.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1434, allocations: 4 kB / 364.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1437, allocations: 8 kB / 364.7 MB, free: 7.121 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.0001116/0.1438, allocations: 107.2 kB / 364.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.144, allocations: 59.84 kB / 364.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.144, allocations: 0.5625 kB / 364.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.144, allocations: 16 kB / 364.8 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.1445, allocations: 50.02 kB / 364.9 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.1449, allocations: 195.6 kB / 365.1 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1452, allocations: 0.7018 MB / 365.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.89e-05/0.1452, allocations: 12.78 kB / 365.8 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.1453, allocations: 11.44 kB / 365.8 MB, free: 5.91 MB / 302.1 MB Notification: Performance of SimCode: time 1.914e-06/0.1453, allocations: 0 / 365.8 MB, free: 5.91 MB / 302.1 MB Notification: Performance of Templates: time 0.003111/0.1484, allocations: 0.6954 MB / 366.5 MB, free: 5.219 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/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