Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 112.8 kB / 17.68 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001089, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 45.53 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1268, allocations: 49.45 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003749/0.1306, allocations: 1.533 MB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.1315, allocations: 484.2 kB / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.1316, allocations: 0 / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.069e-05/0.1317, allocations: 3.938 kB / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.1318, allocations: 15.92 kB / 353.5 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1321, allocations: 46.72 kB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.1322, allocations: 39.84 kB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1323, allocations: 12 kB / 353.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.1324, allocations: 23.86 kB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.1325, allocations: 19.91 kB / 353.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1325, allocations: 0 / 353.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.1325, allocations: 4 kB / 353.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.1326, allocations: 11.94 kB / 353.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.1326, allocations: 23.8 kB / 353.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1328, allocations: 47.81 kB / 353.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1328, allocations: 0 / 353.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1328, allocations: 4 kB / 353.8 MB, free: 1.422 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1328, allocations: 4 kB / 353.8 MB, free: 1.418 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005565/0.1334, allocations: 359.2 kB / 354.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1334, allocations: 12.03 kB / 354.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.1335, allocations: 12.78 kB / 354.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1338, allocations: 196 kB / 354.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-06/0.1338, allocations: 384 / 354.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.1338, allocations: 12.36 kB / 354.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1341, allocations: 93.36 kB / 354.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1342, allocations: 0 / 354.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1342, allocations: 0 / 354.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1342, allocations: 4 kB / 354.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.1343, allocations: 15.98 kB / 354.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.1346, allocations: 261.8 kB / 354.7 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.1347, allocations: 49.16 kB / 354.8 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.1348, allocations: 25.7 kB / 354.8 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1348, allocations: 4 kB / 354.8 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.1349, allocations: 34.56 kB / 354.8 MB, free: 176 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1349, allocations: 3.938 kB / 354.8 MB, free: 172 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002642/0.1352, allocations: 61.58 kB / 354.9 MB, free: 104 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.1352, allocations: 85.05 kB / 355 MB, free: 0 / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1354, allocations: 142.1 kB / 355.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1354, allocations: 29.7 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.1355, allocations: 80.14 kB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.1355, allocations: 7.906 kB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1356, allocations: 13.72 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1357, allocations: 326.8 kB / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.1357, allocations: 4 kB / 355.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.1358, allocations: 21.7 kB / 355.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.618e-05/0.1359, allocations: 29.7 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1359, allocations: 0 / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001212/0.136, allocations: 57.53 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.136, allocations: 8 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1361, allocations: 4.125 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1361, allocations: 0 / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.1362, allocations: 7.984 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1362, allocations: 0 / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.1362, allocations: 4 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.1362, allocations: 0 / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.228e-05/0.1363, allocations: 125.7 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.1364, allocations: 37.69 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.1364, allocations: 11.88 kB / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1364, allocations: 4.031 kB / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1364, allocations: 0 / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1364, allocations: 0 / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1366, allocations: 169.6 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1366, allocations: 7.938 kB / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.1367, allocations: 11.98 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1367, allocations: 0 / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1367, allocations: 0 / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1367, allocations: 0 / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1367, allocations: 7.938 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1369, allocations: 168.2 kB / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.137, allocations: 85.02 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.137, allocations: 7.984 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.1371, allocations: 0 / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1371, allocations: 0 / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1371, allocations: 4 kB / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.091e-05/0.1372, allocations: 113.9 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1372, allocations: 0 / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.1374, allocations: 8 kB / 356.4 MB, free: 14.38 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 (2): * Single equations (assignments): 2 * 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.0001154/0.1376, allocations: 99.72 kB / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1377, allocations: 23.92 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1377, allocations: 4 kB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.1378, allocations: 12.11 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1381, allocations: 15.97 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.1385, allocations: 167.3 kB / 356.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1388, allocations: 0.6924 MB / 357.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.01e-05/0.1388, allocations: 0 / 357.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.1388, allocations: 15.59 kB / 357.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1389, allocations: 0 / 357.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Templates: time 0.002879/0.1417, allocations: 470.3 kB / 357.9 MB, free: 12.83 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches