Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 96.81 kB / 16.3 MB, free: 5.574 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.001347/0.001347, allocations: 183.5 kB / 17.19 MB, free: 5.508 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.436/1.436, allocations: 223.2 MB / 241.1 MB, free: 284 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 11.94 kB / 300.7 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 50.41 MB / 351.1 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001946/0.1357, allocations: 1.368 MB / 352.5 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003602/0.1361, allocations: 175.4 kB / 352.7 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.272e-05/0.1362, allocations: 4 kB / 352.7 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.1362, allocations: 3.938 kB / 352.7 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1363, allocations: 7.969 kB / 352.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1366, allocations: 43.84 kB / 352.7 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.1367, allocations: 31.97 kB / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1368, allocations: 23.98 kB / 352.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.1368, allocations: 23.84 kB / 352.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.1369, allocations: 19.86 kB / 352.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1369, allocations: 0 / 352.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.1369, allocations: 4 kB / 352.8 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.137, allocations: 8 kB / 352.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.137, allocations: 37.64 kB / 352.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.595e-05/0.1371, allocations: 47.89 kB / 352.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1371, allocations: 0 / 352.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1371, allocations: 0 / 352.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1371, allocations: 0 / 352.9 MB, free: 2.203 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004831/0.1376, allocations: 388 kB / 353.3 MB, free: 1.777 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1377, allocations: 8.031 kB / 353.3 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.1377, allocations: 7.906 kB / 353.3 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1379, allocations: 190.9 kB / 353.5 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.138, allocations: 4 kB / 353.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.138, allocations: 8 kB / 353.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.1384, allocations: 169.7 kB / 353.7 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1384, allocations: 0 / 353.7 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1384, allocations: 3.953 kB / 353.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1384, allocations: 4 kB / 353.7 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1385, allocations: 39.92 kB / 353.7 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.1389, allocations: 369.8 kB / 354.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.1392, allocations: 119.8 kB / 354.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1392, allocations: 7.891 kB / 354.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1392, allocations: 34.69 kB / 354.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 6.943e-06/0.1392, allocations: 7.984 kB / 354.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003178/0.1396, allocations: 125.7 kB / 354.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.1396, allocations: 114.9 kB / 354.5 MB, free: 412 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1398, allocations: 140.5 kB / 354.6 MB, free: 260 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1398, allocations: 29.94 kB / 354.7 MB, free: 224 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.1399, allocations: 96.05 kB / 354.8 MB, free: 124 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.1399, allocations: 4 kB / 354.8 MB, free: 120 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.1399, allocations: 0 / 354.8 MB, free: 120 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.14, allocations: 322.8 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.1401, allocations: 15.98 kB / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.1402, allocations: 71.72 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.014e-05/0.1402, allocations: 31.94 kB / 355.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1402, allocations: 0 / 355.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001741/0.1404, allocations: 109.4 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1404, allocations: 12.23 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1405, allocations: 4 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1405, allocations: 4 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.1405, allocations: 19.98 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1406, allocations: 7.938 kB / 355.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.1406, allocations: 7.906 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1406, allocations: 7.938 kB / 355.4 MB, free: 15.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.081e-05/0.1407, allocations: 133.8 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.1409, allocations: 69.75 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.1409, allocations: 24.66 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1409, allocations: 4 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1409, allocations: 0 / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1409, allocations: 0 / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.1412, allocations: 185.6 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1412, allocations: 0 / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.1413, allocations: 19.98 kB / 355.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1413, allocations: 0 / 355.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1413, allocations: 8 kB / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1413, allocations: 3.953 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1413, allocations: 4 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.1417, allocations: 347.8 kB / 356.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.1418, allocations: 89 kB / 356.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1418, allocations: 12 kB / 356.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.1419, allocations: 0 / 356.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.1419, allocations: 11.94 kB / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.1419, allocations: 0 / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.161e-05/0.142, allocations: 103.3 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.142, allocations: 0 / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1423, allocations: 23.91 kB / 356.4 MB, free: 14.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.507e-05/0.1424, allocations: 103.2 kB / 356.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.1426, allocations: 59.86 kB / 356.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1426, allocations: 0.5625 kB / 356.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.347e-05/0.1426, allocations: 23.92 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1429, allocations: 40.02 kB / 356.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.1433, allocations: 232.8 kB / 356.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1436, allocations: 0.7082 MB / 357.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.872e-05/0.1436, allocations: 0.6719 kB / 357.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.1437, allocations: 11.44 kB / 357.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1437, allocations: 4 kB / 357.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Templates: time 0.00236/0.146, allocations: 0.5977 MB / 358.1 MB, free: 12.5 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches