Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.0008675/0.0008675, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004884/0.004884, allocations: 161.6 kB / 24.69 MB, free: 8.883 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.8669/0.8669, allocations: 158.6 MB / 186.5 MB, free: 3.055 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.14e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.1459/0.1459, allocations: 8.796 MB / 307.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.1494, allocations: 2.73 MB / 310 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.1499, allocations: 75.94 kB / 310 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003559/0.1535, allocations: 4.149 MB / 314.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.155, allocations: 0.8998 MB / 315.1 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1561, allocations: 0.9442 MB / 316 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.1589, allocations: 4.454 MB / 320.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005872/0.1648, allocations: 7.139 MB / 327.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.1682, allocations: 3.723 MB / 331.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.1703, allocations: 2.415 MB / 333.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005119/0.1708, allocations: 0.6797 MB / 334.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.172, allocations: 0.8824 MB / 335.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006609/0.1727, allocations: 1.348 MB / 336.7 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.1739, allocations: 1.778 MB / 338.4 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005503/0.1794, allocations: 9.183 MB / 347.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1794, allocations: 0 / 347.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1794, allocations: 4 kB / 347.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.585e-05/0.1795, allocations: 0 / 347.6 MB, free: 13.49 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.007198/0.1867, allocations: 5.543 MB / 353.2 MB, free: 7.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1867, allocations: 15.98 kB / 353.2 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005843/0.1873, allocations: 0.6943 MB / 353.9 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006475/0.1938, allocations: 2.406 MB / 356.3 MB, free: 4.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.1965, allocations: 2.387 MB / 358.7 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.1967, allocations: 366.4 kB / 359 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004739/0.1972, allocations: 487.9 kB / 359.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007335/0.2045, allocations: 6.663 MB / 366.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-05/0.2046, allocations: 7.953 kB / 366.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003169/0.2049, allocations: 204 kB / 366.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.205, allocations: 226.1 kB / 366.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006387/0.2114, allocations: 6.09 MB / 372.7 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/0.2289, allocations: 19.84 MB / 392.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/0.2327, allocations: 3.029 MB / 395.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.2334, allocations: 0.7371 MB / 396.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002365/0.2358, allocations: 1.979 MB / 398.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.2358, allocations: 42.5 kB / 398.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.2358, allocations: 0 / 398.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003192/0.2362, allocations: 232.7 kB / 398.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2362, allocations: 55.41 kB / 398.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.2382, allocations: 2.245 MB / 400.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2382, allocations: 29.7 kB / 400.9 MB, free: 7.578 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008961/0.2391, allocations: 2.467 MB / 403.3 MB, free: 5.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.2392, allocations: 83.72 kB / 403.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/0.2396, allocations: 0.5354 MB / 404 MB, free: 4.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2397, allocations: 357.9 kB / 404.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/0.2404, allocations: 0.8128 MB / 405.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.242, allocations: 2.239 MB / 407.4 MB, free: 352 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.2438, allocations: 2.964 MB / 410.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.2439, allocations: 16 kB / 410.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00291/0.2468, allocations: 3.016 MB / 413.4 MB, free: 9.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.2468, allocations: 28 kB / 413.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.2468, allocations: 52.84 kB / 413.4 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-05/0.2469, allocations: 71.94 kB / 413.5 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008642/0.2477, allocations: 0.5654 MB / 414.1 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.684e-05/0.2478, allocations: 99.59 kB / 414.2 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.2488, allocations: 413.2 kB / 414.6 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.2489, allocations: 151.9 kB / 414.7 MB, free: 8.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.001547/0.2505, allocations: 1.726 MB / 416.4 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2506, allocations: 139.1 kB / 416.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.2509, allocations: 247.1 kB / 416.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.13e-05/0.2509, allocations: 89.98 kB / 416.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2509, allocations: 0 / 416.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2509, allocations: 3.938 kB / 416.9 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.2537, allocations: 2.993 MB / 419.9 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2537, allocations: 3.938 kB / 419.9 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.2538, allocations: 12 kB / 419.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2538, allocations: 0 / 419.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2538, allocations: 3.938 kB / 419.9 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2538, allocations: 4.031 kB / 419.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2538, allocations: 4 kB / 419.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.2543, allocations: 367.2 kB / 420.3 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.2545, allocations: 163 kB / 420.5 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.2545, allocations: 3.938 kB / 420.5 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.2548, allocations: 27.95 kB / 420.5 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.2548, allocations: 8 kB / 420.5 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2548, allocations: 7.984 kB / 420.5 MB, free: 2.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001116/0.2559, allocations: 1.396 MB / 421.9 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2559, allocations: 0 / 421.9 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001628/0.2575, allocations: 0.9959 MB / 422.9 MB, free: 15.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0006028/0.2581, allocations: 0.9465 MB / 423.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.2593, allocations: 1.395 MB / 425.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2593, allocations: 0 / 425.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.2593, allocations: 36.61 kB / 425.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/0.2601, allocations: 337.7 kB / 425.6 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/0.2756, allocations: 19.18 MB / 444.8 MB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/0.2773, allocations: 2.59 MB / 447.4 MB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001294/0.2786, allocations: 0.7906 MB / 448.2 MB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000917/0.2795, allocations: 1.328 MB / 449.5 MB, free: 3.641 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2795, allocations: 0 / 449.5 MB, free: 3.641 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/0.4564, allocations: 44.37 MB / 493.9 MB, free: 128.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/8.074, allocations: 6.406 kB / 493.9 MB, free: 128.7 MB / 426.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.818963148631155]