Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004326/0.004332, allocations: 364.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.183/4.183, allocations: 388.9 MB / 405.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003565/0.003565, allocations: 223.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6559/0.6559, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006824/0.0006826, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09954/0.1003, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0006349/0.101, allocations: 212.5 kB / 0.6803 GB, free: 41.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007329/0.1017, allocations: 299.7 kB / 0.6806 GB, free: 41.15 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.1017, allocations: 0 / 0.6806 GB, free: 41.15 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.042e-05/0.1018, allocations: 0 / 0.6806 GB, free: 41.15 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.1018, allocations: 0 / 0.6806 GB, free: 41.15 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.1022, allocations: 75.8 kB / 0.6807 GB, free: 41.08 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.394e-05/0.1022, allocations: 4 kB / 0.6807 GB, free: 41.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.1023, allocations: 0 / 0.6807 GB, free: 41.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.1023, allocations: 3.984 kB / 0.6807 GB, free: 41.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.205e-05/0.1023, allocations: 4 kB / 0.6807 GB, free: 41.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.1023, allocations: 0 / 0.6807 GB, free: 41.07 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.1025, allocations: 99.86 kB / 0.6808 GB, free: 40.97 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.956e-06/0.1026, allocations: 11.98 kB / 0.6808 GB, free: 40.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.1026, allocations: 25.7 kB / 0.6808 GB, free: 40.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1028, allocations: 55.92 kB / 0.6809 GB, free: 40.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1028, allocations: 0 / 0.6809 GB, free: 40.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1028, allocations: 0 / 0.6809 GB, free: 40.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1028, allocations: 3.938 kB / 0.6809 GB, free: 40.87 MB / 346.7 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.0002774/0.1031, allocations: 368.9 kB / 0.6812 GB, free: 40.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1031, allocations: 8.031 kB / 0.6812 GB, free: 40.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1032, allocations: 11.94 kB / 0.6812 GB, free: 40.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.755e-05/0.1033, allocations: 159.1 kB / 0.6814 GB, free: 40.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1033, allocations: 4 kB / 0.6814 GB, free: 40.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.1033, allocations: 0 / 0.6814 GB, free: 40.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.975e-05/0.1034, allocations: 33.64 kB / 0.6814 GB, free: 40.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1034, allocations: 0 / 0.6814 GB, free: 40.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1034, allocations: 0 / 0.6814 GB, free: 40.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1034, allocations: 0 / 0.6814 GB, free: 40.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.1035, allocations: 3.953 kB / 0.6814 GB, free: 40.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.1036, allocations: 153.7 kB / 0.6816 GB, free: 39.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.177e-05/0.1036, allocations: 18.58 kB / 0.6816 GB, free: 39.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.1036, allocations: 4.859 kB / 0.6816 GB, free: 39.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.1037, allocations: 4.094 kB / 0.6816 GB, free: 39.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1037, allocations: 60.2 kB / 0.6817 GB, free: 39.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.1037, allocations: 0 / 0.6817 GB, free: 39.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001718/0.1039, allocations: 67.39 kB / 0.6817 GB, free: 39.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.1039, allocations: 77.11 kB / 0.6818 GB, free: 39.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.36e-05/0.104, allocations: 93.98 kB / 0.6819 GB, free: 39.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.104, allocations: 25.7 kB / 0.6819 GB, free: 39.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.104, allocations: 80.14 kB / 0.682 GB, free: 39.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.104, allocations: 0 / 0.682 GB, free: 39.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.104, allocations: 4 kB / 0.682 GB, free: 39.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.1041, allocations: 314.8 kB / 0.6823 GB, free: 39.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.1041, allocations: 0 / 0.6823 GB, free: 39.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.1041, allocations: 3.938 kB / 0.6823 GB, free: 39.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.49e-05/0.1042, allocations: 37.75 kB / 0.6823 GB, free: 39.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1042, allocations: 0 / 0.6823 GB, free: 39.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.801e-05/0.1043, allocations: 63.34 kB / 0.6824 GB, free: 39.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.1043, allocations: 33.7 kB / 0.6824 GB, free: 39.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1043, allocations: 0 / 0.6824 GB, free: 39.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1043, allocations: 0 / 0.6824 GB, free: 39.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.1043, allocations: 0 / 0.6824 GB, free: 39.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1044, allocations: 0 / 0.6824 GB, free: 39.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.1044, allocations: 0 / 0.6824 GB, free: 39.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1044, allocations: 4 kB / 0.6824 GB, free: 39.01 MB / 346.7 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 6.379e-05/0.1045, allocations: 144.3 kB / 0.6826 GB, free: 38.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.1045, allocations: 0 / 0.6826 GB, free: 38.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.047e-05/0.1045, allocations: 11.08 kB / 0.6826 GB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1045, allocations: 0 / 0.6826 GB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1045, allocations: 3.938 kB / 0.6826 GB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.1046, allocations: 81.09 kB / 0.6826 GB, free: 38.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1046, allocations: 0 / 0.6826 GB, free: 38.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.1046, allocations: 0 / 0.6826 GB, free: 38.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.1047, allocations: 7.938 kB / 0.6827 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.36e-05/0.1048, allocations: 202 kB / 0.6828 GB, free: 38.51 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001082/0.1049, allocations: 240.5 kB / 0.6831 GB, free: 38.25 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.813e-05/0.1049, allocations: 0 / 0.6831 GB, free: 38.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.405e-05/0.1049, allocations: 75.28 kB / 0.6832 GB, free: 38.18 MB / 346.7 MB Notification: Performance of Backend: time 4.81e-07/0.1049, allocations: 0 / 0.6832 GB, free: 38.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007363/0.1057, allocations: 252.9 kB / 0.6834 GB, free: 37.94 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002447/0.1059, allocations: 0.5775 MB / 0.684 GB, free: 37.3 MB / 346.7 MB Notification: Performance of Templates: time 0.003614/0.1096, allocations: 0.8619 MB / 0.6848 GB, free: 36.44 MB / 346.7 MB