Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009551/0.0009549, allocations: 97.14 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 176 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.7 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4291/0.4291, allocations: 43.55 MB / 314.5 MB, free: 8.891 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004986, allocations: 12 kB / 383.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1384, allocations: 58.86 MB / 442.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0007455/0.1392, allocations: 220.5 kB / 443 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1405, allocations: 0.7424 MB / 443.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.1406, allocations: 0 / 443.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.1406, allocations: 0 / 443.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1408, allocations: 3.938 kB / 443.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1411, allocations: 39.94 kB / 443.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.093e-05/0.1411, allocations: 7.938 kB / 443.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.1412, allocations: 0 / 443.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.1412, allocations: 0 / 443.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1413, allocations: 7.984 kB / 443.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.1413, allocations: 4 kB / 443.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1415, allocations: 39.91 kB / 443.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.1415, allocations: 0 / 443.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.1415, allocations: 29.7 kB / 443.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1417, allocations: 31.95 kB / 443.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1417, allocations: 0 / 443.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1417, allocations: 0 / 443.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1417, allocations: 0 / 443.9 MB, free: 12.22 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003633/0.1421, allocations: 353 kB / 444.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1422, allocations: 8.031 kB / 444.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.1422, allocations: 4 kB / 444.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1423, allocations: 175 kB / 444.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1424, allocations: 0 / 444.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.1424, allocations: 0 / 444.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.057e-05/0.1425, allocations: 29.7 kB / 444.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1425, allocations: 0 / 444.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1425, allocations: 0 / 444.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1425, allocations: 3.938 kB / 444.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.1425, allocations: 0 / 444.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1427, allocations: 161.6 kB / 444.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.1428, allocations: 18.52 kB / 444.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.1428, allocations: 0 / 444.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.1428, allocations: 60.36 kB / 444.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1428, allocations: 0 / 444.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002382/0.1431, allocations: 67.39 kB / 444.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.1431, allocations: 81.23 kB / 444.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.1432, allocations: 93.8 kB / 444.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1433, allocations: 25.7 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.1433, allocations: 84.14 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1433, allocations: 288 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.1433, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1435, allocations: 322.7 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.1435, allocations: 0 / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.659e-06/0.1435, allocations: 8.125 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/0.1435, allocations: 29.69 kB / 445.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1435, allocations: 0 / 445.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.492e-05/0.1436, allocations: 59.41 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.1437, allocations: 29.7 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1437, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1437, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.1437, allocations: 4 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.1437, allocations: 4 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.1437, allocations: 3.984 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1438, allocations: 4.094 kB / 445.5 MB, free: 10.37 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001071/0.1439, allocations: 151.4 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.1439, allocations: 0 / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.1439, allocations: 3.125 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1439, allocations: 0 / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1439, allocations: 3.938 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1439, allocations: 0 / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.1441, allocations: 153.6 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1441, allocations: 0 / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.1441, allocations: 4 kB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1442, allocations: 3.938 kB / 445.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1442, allocations: 3.984 kB / 445.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1442, allocations: 0 / 445.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1442, allocations: 4 kB / 445.8 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.1443, allocations: 90.81 kB / 445.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.1444, allocations: 85.06 kB / 445.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1444, allocations: 0 / 445.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.1444, allocations: 4.031 kB / 445.9 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.1444, allocations: 0 / 445.9 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.1445, allocations: 4 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.282e-05/0.1445, allocations: 79.28 kB / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1445, allocations: 0 / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1447, allocations: 19.98 kB / 446.1 MB, free: 9.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000405/0.1451, allocations: 181.2 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.1453, allocations: 59.39 kB / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1453, allocations: 0 / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.601e-05/0.1453, allocations: 59.41 kB / 446.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.1454, allocations: 11.66 kB / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.1457, allocations: 74.77 kB / 446.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.146, allocations: 0.6848 MB / 447.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.725e-06/0.146, allocations: 0 / 447.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.146, allocations: 7.438 kB / 447.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.146, allocations: 0 / 447.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of Templates: time 0.003143/0.1492, allocations: 0.6053 MB / 447.7 MB, free: 7.922 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches