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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2067/0.2067, allocations: 46.93 MB / 361.5 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 79.88 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2956, allocations: 66.07 MB / 0.5619 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001443/0.2971, allocations: 0.4912 MB / 0.5624 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2983, allocations: 0.8746 MB / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.2984, allocations: 0 / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.2984, allocations: 0 / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.2985, allocations: 7.938 kB / 0.5633 GB, free: 2.859 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:333:3-373: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.0006132/0.2992, allocations: 53.86 kB / 0.5633 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.197e-05/0.2992, allocations: 4 kB / 0.5633 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.92e-05/0.2992, allocations: 0 / 0.5633 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.2993, allocations: 7.969 kB / 0.5633 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.2993, allocations: 8 kB / 0.5633 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.2993, allocations: 4 kB / 0.5633 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2995, allocations: 59.95 kB / 0.5634 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-06/0.2995, allocations: 0 / 0.5634 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.2995, allocations: 3.938 kB / 0.5634 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.2996, allocations: 55.66 kB / 0.5635 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2996, allocations: 0 / 0.5635 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2996, allocations: 0 / 0.5635 GB, free: 2.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.2996, allocations: 3.938 kB / 0.5635 GB, free: 2.668 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.0003274/0.3, allocations: 282.5 kB / 0.5637 GB, free: 2.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.3, allocations: 12.03 kB / 0.5637 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.3, allocations: 4.938 kB / 0.5637 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.3001, allocations: 106.5 kB / 0.5638 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3001, allocations: 384 / 0.5638 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.3001, allocations: 384 / 0.5638 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.427e-05/0.3002, allocations: 30.27 kB / 0.5639 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3002, allocations: 192 / 0.5639 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3002, allocations: 3.938 kB / 0.5639 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3002, allocations: 0 / 0.5639 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.3002, allocations: 4 kB / 0.5639 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.3004, allocations: 132.6 kB / 0.564 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.783e-05/0.3004, allocations: 18.61 kB / 0.564 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.3004, allocations: 4.859 kB / 0.564 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-06/0.3004, allocations: 0 / 0.564 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.3005, allocations: 56.27 kB / 0.5641 GB, free: 1.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.3005, allocations: 0 / 0.5641 GB, free: 1.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.3006, allocations: 79.33 kB / 0.5642 GB, free: 1.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.3007, allocations: 81.11 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.3008, allocations: 89.86 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3008, allocations: 25.7 kB / 0.5644 GB, free: 1.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.3008, allocations: 80.14 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.3008, allocations: 0 / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.3009, allocations: 17.72 kB / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.301, allocations: 315.1 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.301, allocations: 3.984 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.301, allocations: 4 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.3011, allocations: 60.27 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3011, allocations: 0 / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.392e-05/0.3012, allocations: 67.34 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.3012, allocations: 29.7 kB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3012, allocations: 7.922 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.3012, allocations: 96 / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3012, allocations: 4 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.3012, allocations: 0 / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.3012, allocations: 7.984 kB / 0.5649 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.3012, allocations: 0 / 0.5649 GB, free: 0.9414 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 8.556e-05/0.3013, allocations: 131.5 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.3013, allocations: 8 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.087e-05/0.3013, allocations: 6.938 kB / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.3013, allocations: 0 / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3013, allocations: 3.938 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3013, allocations: 4 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.687e-05/0.3014, allocations: 124.8 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3014, allocations: 0 / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3014, allocations: 0 / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.3014, allocations: 0 / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3014, allocations: 7.875 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.3014, allocations: 0 / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.3014, allocations: 0 / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.3015, allocations: 98.77 kB / 0.5653 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.3016, allocations: 3.953 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3016, allocations: 7.938 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.3016, allocations: 0 / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.3016, allocations: 3.984 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.3016, allocations: 0 / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.3016, allocations: 79.28 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3016, allocations: 0 / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000196/0.3018, allocations: 15.94 kB / 0.5654 GB, free: 380 kB / 398.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 (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.0004009/0.3022, allocations: 193.1 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.247e-05/0.3023, allocations: 59.39 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3023, allocations: 0 / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.796e-05/0.3024, allocations: 59.34 kB / 0.5657 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.3025, allocations: 6.125 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.3027, allocations: 115 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.303, allocations: 0.6729 MB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.303, allocations: 7.562 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.303, allocations: 4 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Templates: time 0.002275/0.3052, allocations: 0.823 MB / 0.5673 GB, free: 14.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.80975823989138]