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.001181/0.001181, allocations: 113.9 kB / 17.68 MB, free: 5.379 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.001106/0.001106, allocations: 192 kB / 18.62 MB, free: 4.457 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.389/1.389, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 45.92 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1246, allocations: 49.44 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003824/0.1285, allocations: 1.685 MB / 353.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004853/0.129, allocations: 167.4 kB / 353.3 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1291, allocations: 4 kB / 353.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.583e-05/0.1292, allocations: 7.875 kB / 353.3 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1294, allocations: 11.94 kB / 353.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1297, allocations: 51.77 kB / 353.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1298, allocations: 47.91 kB / 353.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.13, allocations: 27.98 kB / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.13, allocations: 23.86 kB / 353.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.1301, allocations: 31.84 kB / 353.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1301, allocations: 4 kB / 353.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.1301, allocations: 4 kB / 353.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.1302, allocations: 19.92 kB / 353.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.1302, allocations: 31.75 kB / 353.6 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1304, allocations: 71.66 kB / 353.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1304, allocations: 4 kB / 353.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1304, allocations: 0 / 353.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1304, allocations: 0 / 353.7 MB, free: 1.508 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.0005304/0.131, allocations: 395 kB / 354.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.131, allocations: 8.031 kB / 354.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.1311, allocations: 12.84 kB / 354.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.1313, allocations: 196.1 kB / 354.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1314, allocations: 4.312 kB / 354.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.1314, allocations: 4.375 kB / 354.3 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.1317, allocations: 177.3 kB / 354.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1318, allocations: 192 / 354.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1318, allocations: 3.938 kB / 354.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.1318, allocations: 0 / 354.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1319, allocations: 43.84 kB / 354.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.1323, allocations: 369.8 kB / 354.9 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.1326, allocations: 123.9 kB / 355 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1327, allocations: 54.8 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1328, allocations: 7.984 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1328, allocations: 30.56 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1328, allocations: 0 / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003473/0.1331, allocations: 129.3 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.1332, allocations: 114.8 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1334, allocations: 136.2 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1334, allocations: 25.7 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.1334, allocations: 88.14 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1335, allocations: 15.8 kB / 355.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.1335, allocations: 21.72 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1337, allocations: 327.1 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.1337, allocations: 15.98 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.1338, allocations: 67.66 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.134, allocations: 103.5 kB / 356.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.134, allocations: 0 / 356.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.1342, allocations: 101.4 kB / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1342, allocations: 8 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1342, allocations: 4 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1342, allocations: 288 / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.1343, allocations: 27.92 kB / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.1343, allocations: 7.938 kB / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.1344, allocations: 7.984 kB / 356.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.1344, allocations: 8 kB / 356.3 MB, free: 14.59 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 8.885e-05/0.1345, allocations: 125.7 kB / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.1346, allocations: 69.59 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.1347, allocations: 16.72 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1347, allocations: 4 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1347, allocations: 7.938 kB / 356.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1347, allocations: 7.984 kB / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.135, allocations: 185.5 kB / 356.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.135, allocations: 0 / 356.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.435e-05/0.135, allocations: 24.17 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1351, allocations: 0 / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1351, allocations: 3.938 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1351, allocations: 4 kB / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1351, allocations: 0 / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.1354, allocations: 316.2 kB / 357 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.1355, allocations: 89 kB / 357.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1355, allocations: 15.92 kB / 357.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.365e-05/0.1356, allocations: 0 / 357.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.1357, allocations: 4 kB / 357.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1357, allocations: 4 kB / 357.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.778e-05/0.1358, allocations: 110.2 kB / 357.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1358, allocations: 0 / 357.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.1361, allocations: 12 kB / 357.2 MB, free: 13.5 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.0001178/0.1362, allocations: 107.7 kB / 357.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1364, allocations: 68.34 kB / 357.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1364, allocations: 0 / 357.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.1364, allocations: 7.938 kB / 357.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.1368, allocations: 47.28 kB / 357.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.1373, allocations: 212.1 kB / 357.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1375, allocations: 0.7003 MB / 358.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.509e-05/0.1376, allocations: 4.672 kB / 358.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.1376, allocations: 11.44 kB / 358.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1376, allocations: 3.938 kB / 358.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Templates: time 0.003198/0.1408, allocations: 0.7036 MB / 359.1 MB, free: 11.59 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 -s cvode -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/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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches