Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0078/0.0078, allocations: 100.3 kB / 15.73 MB, free: 6 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.001559/0.001559, allocations: 195.1 kB / 16.67 MB, free: 5.922 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.611/1.611, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3286/0.3286, allocations: 39.95 MB / 309.8 MB, free: 9.453 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 75.88 kB / 435.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3763, allocations: 56.87 MB / 492.6 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001792/0.3781, allocations: 499 kB / 493.1 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000768/0.3789, allocations: 324.2 kB / 493.4 MB, free: 18.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.3789, allocations: 0 / 493.4 MB, free: 18.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.379, allocations: 1.219 kB / 493.4 MB, free: 18.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.355e-06/0.379, allocations: 4 kB / 493.4 MB, free: 18.98 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:261:3-308:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.findLast' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Files.mo:610:1-680:18:writable] Warning: Pure function 'Modelica.Utilities.Files.splitPathName' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:455:3-480:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.3795, allocations: 99.58 kB / 493.5 MB, free: 18.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.3795, allocations: 5.703 kB / 493.5 MB, free: 18.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.3796, allocations: 1.859 kB / 493.5 MB, free: 18.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.603e-05/0.3796, allocations: 1.75 kB / 493.5 MB, free: 18.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.372e-05/0.3796, allocations: 0 / 493.5 MB, free: 18.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.3797, allocations: 1.281 kB / 493.5 MB, free: 18.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.3799, allocations: 131.2 kB / 493.7 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-06/0.3799, allocations: 0 / 493.7 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.3799, allocations: 5.156 kB / 493.7 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.3801, allocations: 90.7 kB / 493.8 MB, free: 18.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3802, allocations: 1.219 kB / 493.8 MB, free: 18.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3802, allocations: 0 / 493.8 MB, free: 18.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.3802, allocations: 4.688 kB / 493.8 MB, free: 18.84 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.0003207/0.3805, allocations: 365.6 kB / 494.1 MB, free: 18.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3805, allocations: 13.02 kB / 494.1 MB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.3806, allocations: 0.9375 kB / 494.1 MB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.452e-05/0.3807, allocations: 166.9 kB / 494.3 MB, free: 18.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3807, allocations: 4.312 kB / 494.3 MB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.3807, allocations: 1.562 kB / 494.3 MB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.506e-05/0.3808, allocations: 37.69 kB / 494.4 MB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3808, allocations: 0 / 494.4 MB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3808, allocations: 1.156 kB / 494.4 MB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3808, allocations: 0 / 494.4 MB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.3809, allocations: 1.781 kB / 494.4 MB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.381, allocations: 152.3 kB / 494.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.718e-05/0.381, allocations: 21.7 kB / 494.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.381, allocations: 10.11 kB / 494.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.381, allocations: 0.7031 kB / 494.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.3811, allocations: 62.25 kB / 494.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3811, allocations: 0 / 494.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001711/0.3813, allocations: 65.2 kB / 494.7 MB, free: 17.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3813, allocations: 79.11 kB / 494.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.938e-05/0.3814, allocations: 89.86 kB / 494.8 MB, free: 17.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.3814, allocations: 26.39 kB / 494.8 MB, free: 17.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.587e-05/0.3814, allocations: 85.3 kB / 494.9 MB, free: 17.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.3814, allocations: 0 / 494.9 MB, free: 17.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.3814, allocations: 12.72 kB / 494.9 MB, free: 17.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.3815, allocations: 316.8 kB / 495.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.3815, allocations: 3.938 kB / 495.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.3815, allocations: 1.875 kB / 495.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.3816, allocations: 60.34 kB / 495.3 MB, free: 17.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3816, allocations: 5.188 kB / 495.3 MB, free: 17.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.325e-05/0.3816, allocations: 59.25 kB / 495.4 MB, free: 17.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.3817, allocations: 36.14 kB / 495.4 MB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3817, allocations: 1.844 kB / 495.4 MB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3817, allocations: 4 kB / 495.4 MB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3817, allocations: 0 / 495.4 MB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3817, allocations: 1.875 kB / 495.4 MB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.3817, allocations: 0 / 495.4 MB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3818, allocations: 1.125 kB / 495.4 MB, free: 17.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.3818, allocations: 147 kB / 495.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.3818, allocations: 5.094 kB / 495.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.162e-05/0.3819, allocations: 7.953 kB / 495.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.3819, allocations: 1.156 kB / 495.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3819, allocations: 3.938 kB / 495.6 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3819, allocations: 0.9375 kB / 495.6 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.786e-05/0.3819, allocations: 145.9 kB / 495.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.382, allocations: 0 / 495.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-06/0.382, allocations: 1.188 kB / 495.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.382, allocations: 3.938 kB / 495.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.382, allocations: 5.688 kB / 495.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.382, allocations: 0 / 495.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.382, allocations: 0.75 kB / 495.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.862e-05/0.3821, allocations: 93.05 kB / 495.8 MB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.3821, allocations: 87.03 kB / 495.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3821, allocations: 1.25 kB / 495.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-06/0.3821, allocations: 0 / 495.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.3821, allocations: 6.094 kB / 495.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3822, allocations: 5.062 kB / 495.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.775e-05/0.3822, allocations: 81.39 kB / 496 MB, free: 16.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3822, allocations: 0 / 496 MB, free: 16.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.3825, allocations: 36.94 kB / 496 MB, free: 16.34 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 (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.0004208/0.3829, allocations: 215.3 kB / 496.3 MB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.081e-05/0.383, allocations: 57.88 kB / 496.3 MB, free: 16.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.383, allocations: 3.938 kB / 496.3 MB, free: 16.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.553e-05/0.383, allocations: 56.45 kB / 496.4 MB, free: 16.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.3832, allocations: 1.156 kB / 496.4 MB, free: 16.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/0.3834, allocations: 95.11 kB / 496.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3835, allocations: 0.6709 MB / 497.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.82e-06/0.3835, allocations: 0 / 497.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.3835, allocations: 8.906 kB / 497.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3835, allocations: 0 / 497.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of Templates: time 0.003446/0.387, allocations: 0.8837 MB / 498 MB, free: 15.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe 2>&1)