Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1972/0.1972, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 72.16 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2957, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001417/0.2972, allocations: 493.8 kB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2982, allocations: 0.7801 MB / 0.5329 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.2983, allocations: 0 / 0.5329 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.2983, allocations: 0 / 0.5329 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.2984, allocations: 10.16 kB / 0.5329 GB, free: 12.63 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:322:3-362:15:writable] Warning: Pure function 'ModelicaTest.Utilities.ReadFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.2989, allocations: 53.5 kB / 0.5329 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.299, allocations: 6.469 kB / 0.5329 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.299, allocations: 9.203 kB / 0.5329 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.2991, allocations: 1.5 kB / 0.5329 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.2991, allocations: 2.5 kB / 0.533 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.2991, allocations: 0 / 0.533 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.2993, allocations: 57.58 kB / 0.533 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-06/0.2993, allocations: 0 / 0.533 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.2993, allocations: 5.156 kB / 0.533 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2994, allocations: 50.45 kB / 0.5331 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2994, allocations: 1.438 kB / 0.5331 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2994, allocations: 0 / 0.5331 GB, free: 12.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.2994, allocations: 0 / 0.5331 GB, free: 12.52 MB / 398.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.0003067/0.2997, allocations: 356.4 kB / 0.5334 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2998, allocations: 9.406 kB / 0.5334 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.2998, allocations: 2.656 kB / 0.5334 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.2999, allocations: 164.4 kB / 0.5336 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.2999, allocations: 4.312 kB / 0.5336 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.2999, allocations: 6.109 kB / 0.5336 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.281e-05/0.3, allocations: 33.39 kB / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.3, allocations: 192 / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3, allocations: 7.938 kB / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.3, allocations: 0 / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.366e-05/0.3001, allocations: 2 kB / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.3002, allocations: 151.6 kB / 0.5338 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.205e-05/0.3002, allocations: 20.42 kB / 0.5338 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.3002, allocations: 4.859 kB / 0.5338 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.3003, allocations: 5.781 kB / 0.5338 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.3003, allocations: 60.27 kB / 0.5339 GB, free: 11.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.3003, allocations: 0 / 0.5339 GB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001503/0.3005, allocations: 72.77 kB / 0.5339 GB, free: 11.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3005, allocations: 77.11 kB / 0.534 GB, free: 11.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.3006, allocations: 91.98 kB / 0.5341 GB, free: 11.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.3006, allocations: 25.7 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.191e-05/0.3006, allocations: 80.14 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.3006, allocations: 10.12 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.3007, allocations: 15.62 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.3008, allocations: 314.8 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.3008, allocations: 1.906 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-06/0.3008, allocations: 5.906 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.3008, allocations: 58.17 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3008, allocations: 2.031 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.321e-05/0.3009, allocations: 65.97 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.301, allocations: 34.75 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.301, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.301, allocations: 5.188 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/0.301, allocations: 4 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.301, allocations: 1.594 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.307e-05/0.301, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.301, allocations: 1.25 kB / 0.5347 GB, free: 10.66 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.465e-05/0.3011, allocations: 137.9 kB / 0.5348 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-06/0.3011, allocations: 4.031 kB / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-06/0.3011, allocations: 12.62 kB / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3011, allocations: 0 / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3011, allocations: 3.984 kB / 0.5348 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.3012, allocations: 78.55 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.3012, allocations: 0 / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-06/0.3012, allocations: 1.844 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.3012, allocations: 0 / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001181/0.3013, allocations: 200.4 kB / 0.5351 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001332/0.3015, allocations: 243.5 kB / 0.5353 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.705e-05/0.3015, allocations: 10.55 kB / 0.5353 GB, free: 9.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.17e-05/0.3015, allocations: 76.78 kB / 0.5354 GB, free: 9.855 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.3015, allocations: 0 / 0.5354 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.3021, allocations: 224.6 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003145/0.3024, allocations: 0.5791 MB / 0.5362 GB, free: 9.055 MB / 398.1 MB Notification: Performance of Templates: time 0.009053/0.3115, allocations: 0.66 MB / 0.5368 GB, free: 8.703 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches