Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001978/0.001978, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002382/0.002382, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 59.91 kB / 377.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2275, allocations: 53.4 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01141/0.2389, allocations: 8.517 MB / 439.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005115/0.244, allocations: 2.651 MB / 442.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006135/0.2446, allocations: 91.56 kB / 442.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009317/0.254, allocations: 3.891 MB / 446.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.2567, allocations: 0.7682 MB / 447.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.2591, allocations: 0.9379 MB / 448 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00477/0.2638, allocations: 4.093 MB / 452.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0097/0.2735, allocations: 7.043 MB / 459.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.2767, allocations: 2.42 MB / 461.6 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.2802, allocations: 2.55 MB / 464.1 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009826/0.2812, allocations: 0.6602 MB / 464.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.2828, allocations: 0.8904 MB / 465.7 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.2839, allocations: 1.239 MB / 466.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.2862, allocations: 1.992 MB / 468.9 MB, free: 492 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008954/0.2951, allocations: 8.96 MB / 477.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2951, allocations: 0 / 477.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2951, allocations: 4 kB / 477.9 MB, free: 7.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001135/0.2953, allocations: 0 / 477.9 MB, free: 7.488 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01215/0.3074, allocations: 5.331 MB / 483.2 MB, free: 2.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3075, allocations: 11.98 kB / 483.2 MB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009585/0.3084, allocations: 0.6578 MB / 483.9 MB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007927/0.3163, allocations: 1.31 MB / 485.2 MB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00554/0.3219, allocations: 2.613 MB / 487.8 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002997/0.3222, allocations: 349.4 kB / 488.1 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007547/0.3229, allocations: 452 kB / 488.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/0.3344, allocations: 6.131 MB / 494.7 MB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.302e-05/0.3345, allocations: 4 kB / 494.7 MB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004408/0.3349, allocations: 196 kB / 494.9 MB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002059/0.3351, allocations: 193.5 kB / 495.1 MB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009408/0.3445, allocations: 5.264 MB / 0.4886 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02989/0.3744, allocations: 18.6 MB / 0.5068 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005218/0.3796, allocations: 2.074 MB / 0.5088 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.3806, allocations: 0.6039 MB / 0.5094 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.3808, allocations: 40.95 kB / 0.5094 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.3808, allocations: 43.56 kB / 0.5095 GB, free: 10.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.986e-06/0.3808, allocations: 0 / 0.5095 GB, free: 10.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002361/0.3832, allocations: 1.433 MB / 0.5109 GB, free: 9.465 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.3832, allocations: 60.41 kB / 0.5109 GB, free: 9.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.3855, allocations: 1.535 MB / 0.5124 GB, free: 7.844 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.3856, allocations: 37.7 kB / 0.5125 GB, free: 7.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.3871, allocations: 2.045 MB / 0.5145 GB, free: 5.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/0.3874, allocations: 357.1 kB / 0.5148 GB, free: 5.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000655/0.388, allocations: 479.8 kB / 0.5153 GB, free: 4.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3882, allocations: 365.9 kB / 0.5156 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.3895, allocations: 0.8085 MB / 0.5164 GB, free: 3.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.3918, allocations: 1.945 MB / 0.5183 GB, free: 1.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/0.3957, allocations: 2.927 MB / 0.5212 GB, free: 13.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.483e-05/0.3957, allocations: 12 kB / 0.5212 GB, free: 13.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004551/0.4003, allocations: 2.806 MB / 0.5239 GB, free: 10.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.989e-05/0.4003, allocations: 27.94 kB / 0.5239 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.15e-05/0.4004, allocations: 44 kB / 0.524 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-05/0.4005, allocations: 52 kB / 0.524 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.4021, allocations: 0.5342 MB / 0.5245 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.893e-05/0.4022, allocations: 79.72 kB / 0.5246 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.4035, allocations: 302.3 kB / 0.5249 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.4037, allocations: 128 kB / 0.525 GB, free: 9.766 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.002494/0.4062, allocations: 1.664 MB / 0.5267 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.4064, allocations: 135.1 kB / 0.5268 GB, free: 7.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.4087, allocations: 1.345 MB / 0.5281 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001425/0.4102, allocations: 0.9395 MB / 0.529 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4102, allocations: 0 / 0.529 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4102, allocations: 7.969 kB / 0.529 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2025/0.6127, allocations: 11 MB / 0.5398 GB, free: 94.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/0.6127, allocations: 19.25 kB / 0.5398 GB, free: 94.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.6134, allocations: 213.1 kB / 0.54 GB, free: 94.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.771e-05/0.6134, allocations: 27.56 kB / 0.54 GB, free: 94.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.6134, allocations: 50.84 kB / 0.5401 GB, free: 94.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.806e-05/0.6135, allocations: 42.62 kB / 0.5401 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/0.6135, allocations: 31.34 kB / 0.5401 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.6156, allocations: 2.459 MB / 0.5425 GB, free: 93.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005274/0.6161, allocations: 254.4 kB / 0.5428 GB, free: 93.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.6163, allocations: 52.69 kB / 0.5428 GB, free: 93.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000673/0.6169, allocations: 60.52 kB / 0.5429 GB, free: 93.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.6171, allocations: 138.3 kB / 0.543 GB, free: 93.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.6171, allocations: 52.81 kB / 0.5431 GB, free: 93.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001158/0.6183, allocations: 0.9983 MB / 0.544 GB, free: 92.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6183, allocations: 0 / 0.544 GB, free: 92.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002309/0.6206, allocations: 0.9499 MB / 0.545 GB, free: 92.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.002347/0.6229, allocations: 3.094 MB / 0.548 GB, free: 90.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.6251, allocations: 1.798 MB / 0.5497 GB, free: 89.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.6251, allocations: 3.906 kB / 0.5497 GB, free: 89.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.6257, allocations: 0.5605 MB / 0.5503 GB, free: 89.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.6276, allocations: 390.9 kB / 0.5507 GB, free: 89.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/0.6474, allocations: 19.6 MB / 0.5698 GB, free: 69.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001982/0.6494, allocations: 2.525 MB / 0.5723 GB, free: 67.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001444/0.6508, allocations: 0.8093 MB / 0.5731 GB, free: 66.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.6519, allocations: 1.257 MB / 0.5743 GB, free: 65.2 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6519, allocations: 0 / 0.5743 GB, free: 65.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/0.753, allocations: 43.94 MB / 0.6172 GB, free: 21.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.95, allocations: 18.84 kB / 0.6172 GB, free: 21.52 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.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: 15.470513871870935]