Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 97.69 kB / 21.92 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 202.7 kB / 25.22 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 59.92 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.26, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009451/0.2694, allocations: 8.465 MB / 406.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006349/0.2758, allocations: 2.657 MB / 408.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.2773, allocations: 67.66 kB / 408.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007655/0.2849, allocations: 3.502 MB / 412.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.2891, allocations: 0.9221 MB / 413.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.2917, allocations: 0.8984 MB / 414.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005729/0.2975, allocations: 3.947 MB / 418.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01002/0.3075, allocations: 6.212 MB / 424.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004311/0.3118, allocations: 2.273 MB / 426.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004833/0.3166, allocations: 2.472 MB / 429 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.3179, allocations: 0.6016 MB / 429.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.3203, allocations: 0.8083 MB / 430.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.3216, allocations: 1.196 MB / 431.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003358/0.325, allocations: 1.887 MB / 433.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.3356, allocations: 8.206 MB / 441.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.148e-06/0.3357, allocations: 3.984 kB / 441.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3357, allocations: 0 / 441.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002125/0.3359, allocations: 0 / 441.7 MB, free: 6.883 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01474/0.3506, allocations: 5.175 MB / 446.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.3507, allocations: 15.98 kB / 446.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/0.366, allocations: 2.589 MB / 449.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005717/0.3717, allocations: 2.161 MB / 451.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.3721, allocations: 345.1 kB / 452 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/0.3737, allocations: 440 kB / 452.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01527/0.3889, allocations: 6.132 MB / 458.6 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.3891, allocations: 7.953 kB / 458.6 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006716/0.3897, allocations: 180 kB / 458.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002626/0.39, allocations: 213.3 kB / 459 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.4031, allocations: 5.76 MB / 464.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03436/0.4375, allocations: 17.85 MB / 482.6 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006249/0.4437, allocations: 2.699 MB / 485.3 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.4452, allocations: 0.8907 MB / 486.2 MB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005257/0.4505, allocations: 2.364 MB / 488.5 MB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4505, allocations: 34.8 kB / 488.6 MB, free: 7.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.755e-06/0.4505, allocations: 0 / 488.6 MB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001173/0.4517, allocations: 0.6538 MB / 489.2 MB, free: 6.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.4518, allocations: 55.41 kB / 489.3 MB, free: 6.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003148/0.4549, allocations: 2.091 MB / 491.4 MB, free: 4.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.4549, allocations: 29.7 kB / 491.4 MB, free: 4.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.4567, allocations: 2.276 MB / 493.7 MB, free: 2.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.4568, allocations: 139.1 kB / 493.8 MB, free: 2.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007974/0.4576, allocations: 0.5552 MB / 494.3 MB, free: 1.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4578, allocations: 345.9 kB / 494.7 MB, free: 1.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.4591, allocations: 0.8792 MB / 495.6 MB, free: 356 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.4616, allocations: 2.247 MB / 497.8 MB, free: 13.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003658/0.4653, allocations: 3.067 MB / 0.4891 GB, free: 9.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.177e-05/0.4653, allocations: 16 kB / 0.4892 GB, free: 9.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005032/0.4703, allocations: 3.13 MB / 0.4922 GB, free: 6.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.4704, allocations: 27.91 kB / 0.4922 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.585e-05/0.4704, allocations: 51.94 kB / 0.4923 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-05/0.4705, allocations: 68.03 kB / 0.4924 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.4723, allocations: 0.5927 MB / 0.4929 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/0.4724, allocations: 91.66 kB / 0.493 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.4744, allocations: 425.2 kB / 0.4934 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/0.4746, allocations: 144 kB / 0.4936 GB, free: 5.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.00247/0.477, allocations: 1.562 MB / 0.4951 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.4773, allocations: 143.1 kB / 0.4952 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.4784, allocations: 0.6096 MB / 0.4958 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004533/0.4788, allocations: 325.3 kB / 0.4961 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4788, allocations: 0 / 0.4961 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4788, allocations: 0 / 0.4961 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/0.4838, allocations: 2.733 MB / 0.4988 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4839, allocations: 8.531 kB / 0.4988 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.4841, allocations: 55.89 kB / 0.4989 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.4841, allocations: 15.94 kB / 0.4989 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.4841, allocations: 12 kB / 0.4989 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.4842, allocations: 7.938 kB / 0.4989 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.4842, allocations: 8 kB / 0.4989 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.4853, allocations: 0.8964 MB / 0.4998 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.4858, allocations: 194.9 kB / 0.5 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.486, allocations: 12 kB / 0.5 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.4866, allocations: 48 kB / 0.5 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.4866, allocations: 31.84 kB / 0.5 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.4867, allocations: 16 kB / 0.5001 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001893/0.4885, allocations: 1.327 MB / 0.5014 GB, free: 12.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4885, allocations: 0 / 0.5014 GB, free: 12.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002685/0.4912, allocations: 0.9376 MB / 0.5023 GB, free: 11.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003024/0.4915, allocations: 143.1 kB / 0.5024 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002689/0.4942, allocations: 1.591 MB / 0.504 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4942, allocations: 0 / 0.504 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.4945, allocations: 173.4 kB / 0.5041 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.4961, allocations: 297.4 kB / 0.5044 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.5071, allocations: 5.916 MB / 0.5102 GB, free: 3.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/0.5098, allocations: 2.267 MB / 0.5124 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/0.5103, allocations: 135.3 kB / 0.5125 GB, free: 1.324 MB / 430.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5103, allocations: 0 / 0.5125 GB, free: 1.324 MB / 430.1 MB Notification: Performance of Templates: time 0.06475/0.575, allocations: 39.14 MB / 0.5508 GB, free: 10.11 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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: 9.81713450094685]