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.0009985/0.0009985, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 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.001205/0.001205, allocations: 168 kB / 25.75 MB, free: 8.949 MB / 18.57 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 0.995/0.995, allocations: 158.6 MB / 187.5 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.438e-05, allocations: 2.312 kB / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.007528/0.007553, allocations: 9.345 MB / 260.5 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004667/0.01222, allocations: 2.726 MB / 263.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007419/0.01296, allocations: 63.75 kB / 263.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004105/0.01707, allocations: 4.01 MB / 267.2 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.01928, allocations: 0.9396 MB / 268.2 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.02065, allocations: 0.9229 MB / 269.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003446/0.0241, allocations: 4.08 MB / 273.2 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006656/0.03076, allocations: 6.215 MB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.03485, allocations: 3.378 MB / 282.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/0.03808, allocations: 2.448 MB / 285.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009479/0.03902, allocations: 0.6055 MB / 285.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.04029, allocations: 0.8043 MB / 286.6 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008167/0.04111, allocations: 1.251 MB / 287.9 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.04294, allocations: 1.637 MB / 289.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004726/0.04767, allocations: 4.156 MB / 293.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.04767, allocations: 0 / 293.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.04767, allocations: 0 / 293.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.479e-05/0.04775, allocations: 0 / 293.7 MB, free: 13.01 MB / 282.7 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.01032/0.05807, allocations: 5.613 MB / 299.3 MB, free: 7.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.05812, allocations: 11.98 kB / 299.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.07217, allocations: 3.287 MB / 302.6 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.07608, allocations: 1.968 MB / 304.6 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.07632, allocations: 337.2 kB / 304.9 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006723/0.07699, allocations: 447.9 kB / 305.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006774/0.08377, allocations: 2.818 MB / 308.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.7e-05/0.08385, allocations: 4 kB / 308.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003829/0.08424, allocations: 184 kB / 308.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002138/0.08445, allocations: 213.3 kB / 308.5 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005234/0.08969, allocations: 1.964 MB / 310.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02163/0.1113, allocations: 16.87 MB / 327.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/0.1148, allocations: 2.555 MB / 329.9 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.1155, allocations: 0.5079 MB / 330.4 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002752/0.1182, allocations: 1.88 MB / 332.3 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1183, allocations: 41.56 kB / 332.4 MB, free: 5.691 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 2.505e-06/0.1183, allocations: 0 / 332.4 MB, free: 5.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005624/0.1188, allocations: 320.2 kB / 332.7 MB, free: 5.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1189, allocations: 55.34 kB / 332.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.1207, allocations: 1.927 MB / 334.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1207, allocations: 33.7 kB / 334.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.1218, allocations: 2.412 MB / 337.1 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/0.1219, allocations: 151.1 kB / 337.2 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.1224, allocations: 0.6122 MB / 337.9 MB, free: 112 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1226, allocations: 0.5316 MB / 338.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.123, allocations: 300.8 kB / 338.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.1244, allocations: 2.368 MB / 341.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.1263, allocations: 2.801 MB / 343.9 MB, free: 8.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.1263, allocations: 12 kB / 343.9 MB, free: 8.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.002631/0.129, allocations: 2.122 MB / 346 MB, free: 6.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.129, allocations: 24 kB / 346 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.684e-05/0.129, allocations: 48 kB / 346.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-05/0.1291, allocations: 64 kB / 346.1 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.1301, allocations: 0.5927 MB / 346.7 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.525e-05/0.1302, allocations: 100.2 kB / 346.8 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.1314, allocations: 421.3 kB / 347.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.1315, allocations: 140 kB / 347.4 MB, free: 4.734 MB / 330.7 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.0008169/0.1323, allocations: 347.2 kB / 347.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.1325, allocations: 147 kB / 347.8 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.133, allocations: 445.2 kB / 348.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001612/0.1332, allocations: 125.5 kB / 348.4 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1332, allocations: 7.938 kB / 348.4 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1332, allocations: 0 / 348.4 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/0.1368, allocations: 3.048 MB / 351.5 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.1368, allocations: 4 kB / 351.5 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1369, allocations: 55.91 kB / 351.5 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.1369, allocations: 8 kB / 351.5 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.137, allocations: 16.58 kB / 351.5 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.137, allocations: 11.94 kB / 351.6 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.137, allocations: 12.02 kB / 351.6 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1268/0.2638, allocations: 0.6422 MB / 352.2 MB, free: 95.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.2643, allocations: 170 kB / 352.4 MB, free: 95.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.2644, allocations: 14.98 kB / 352.4 MB, free: 95.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.2648, allocations: 49.66 kB / 352.4 MB, free: 95.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.2649, allocations: 32.48 kB / 352.5 MB, free: 95.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.265, allocations: 12.67 kB / 352.5 MB, free: 95.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001368/0.2663, allocations: 0.901 MB / 353.4 MB, free: 95.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2663, allocations: 2 kB / 353.4 MB, free: 95.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002104/0.2684, allocations: 0.9407 MB / 354.3 MB, free: 95.45 MB / 330.7 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.0002582/0.2687, allocations: 145.5 kB / 354.5 MB, free: 95.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.2701, allocations: 1.106 MB / 355.6 MB, free: 95.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.2701, allocations: 0 / 355.6 MB, free: 95.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.2702, allocations: 91.61 kB / 355.7 MB, free: 95.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.2711, allocations: 322.7 kB / 356 MB, free: 95.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007107/0.2782, allocations: 5.372 MB / 361.3 MB, free: 92.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.2789, allocations: 1.024 MB / 362.4 MB, free: 92.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001048/0.2799, allocations: 0.6805 MB / 363.1 MB, free: 92.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.2801, allocations: 105.7 kB / 363.2 MB, free: 92.62 MB / 330.7 MB Notification: Performance of SimCode: time 2.054e-06/0.2801, allocations: 4 kB / 363.2 MB, free: 92.61 MB / 330.7 MB Notification: Performance of Templates: time 0.02244/0.3025, allocations: 16.21 MB / 379.4 MB, free: 79.24 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2159336179029197]