Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 194 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 47.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2274, allocations: 52.18 MB / 422.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01039/0.2378, allocations: 7.987 MB / 430.6 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.2428, allocations: 2.476 MB / 433 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.2438, allocations: 79.62 kB / 433.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008608/0.2524, allocations: 3.475 MB / 436.6 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.2555, allocations: 0.8969 MB / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.2575, allocations: 0.7771 MB / 438.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004141/0.2616, allocations: 3.657 MB / 441.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008282/0.2699, allocations: 6.132 MB / 448.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.2725, allocations: 2.132 MB / 450.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.2756, allocations: 2.293 MB / 452.5 MB, free: 352 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008542/0.2765, allocations: 0.586 MB / 453.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.2779, allocations: 0.7888 MB / 453.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009889/0.2789, allocations: 1.107 MB / 455 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.2809, allocations: 1.774 MB / 456.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008211/0.2891, allocations: 7.936 MB / 464.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2891, allocations: 0 / 464.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2892, allocations: 0 / 464.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001283/0.2893, allocations: 0 / 464.7 MB, free: 4.117 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.0121/0.3014, allocations: 4.861 MB / 469.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.3014, allocations: 16.03 kB / 469.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/0.3026, allocations: 0.5922 MB / 470.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007806/0.3104, allocations: 1.282 MB / 471.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00545/0.3158, allocations: 2.317 MB / 473.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.3161, allocations: 308.4 kB / 474 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009322/0.3171, allocations: 412 kB / 474.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009852/0.3269, allocations: 5.49 MB / 479.9 MB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.005e-05/0.327, allocations: 3.953 kB / 479.9 MB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003912/0.3274, allocations: 168 kB / 480.1 MB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/0.3276, allocations: 180.5 kB / 480.3 MB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008385/0.336, allocations: 4.788 MB / 485.1 MB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02701/0.363, allocations: 17.07 MB / 0.4904 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/0.3669, allocations: 1.737 MB / 0.4921 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.3682, allocations: 0.7144 MB / 0.4928 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.3683, allocations: 32.97 kB / 0.4928 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.3684, allocations: 51.56 kB / 0.4928 GB, free: 11.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.036e-06/0.3684, allocations: 0 / 0.4928 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002481/0.3708, allocations: 1.558 MB / 0.4944 GB, free: 9.812 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.3709, allocations: 64.39 kB / 0.4944 GB, free: 9.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.3728, allocations: 1.4 MB / 0.4958 GB, free: 8.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.823e-05/0.3728, allocations: 41.7 kB / 0.4958 GB, free: 8.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.3741, allocations: 1.815 MB / 0.4976 GB, free: 6.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.3744, allocations: 388.9 kB / 0.498 GB, free: 6.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006155/0.375, allocations: 455.6 kB / 0.4984 GB, free: 5.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3752, allocations: 349.9 kB / 0.4987 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.3765, allocations: 0.8357 MB / 0.4996 GB, free: 4.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.3785, allocations: 1.816 MB / 0.5013 GB, free: 2.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/0.3819, allocations: 2.798 MB / 0.5041 GB, free: 14.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/0.382, allocations: 12 kB / 0.5041 GB, free: 14.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004158/0.3861, allocations: 2.731 MB / 0.5067 GB, free: 12.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.3862, allocations: 22.81 kB / 0.5068 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/0.3862, allocations: 35.98 kB / 0.5068 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.594e-05/0.3863, allocations: 51.98 kB / 0.5069 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.388, allocations: 0.5264 MB / 0.5074 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.694e-05/0.388, allocations: 68.17 kB / 0.5074 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.3893, allocations: 290.1 kB / 0.5077 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.3895, allocations: 123.9 kB / 0.5078 GB, free: 10.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.002156/0.3917, allocations: 1.484 MB / 0.5093 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.3919, allocations: 127.2 kB / 0.5094 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.3943, allocations: 1.45 MB / 0.5108 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001562/0.3958, allocations: 1.041 MB / 0.5118 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3958, allocations: 0 / 0.5118 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3958, allocations: 3.984 kB / 0.5118 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.4121, allocations: 10.83 MB / 0.5224 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-05/0.4121, allocations: 20 kB / 0.5224 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/0.4129, allocations: 231.5 kB / 0.5226 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.753e-05/0.413, allocations: 24 kB / 0.5227 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.681e-05/0.4131, allocations: 52 kB / 0.5227 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.95e-05/0.4131, allocations: 35.86 kB / 0.5228 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.606e-05/0.4131, allocations: 31.88 kB / 0.5228 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.4166, allocations: 2.668 MB / 0.5254 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006738/0.4172, allocations: 262.9 kB / 0.5256 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.4174, allocations: 51.97 kB / 0.5257 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007773/0.4182, allocations: 71.94 kB / 0.5258 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.4184, allocations: 147.2 kB / 0.5259 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.4185, allocations: 59.98 kB / 0.526 GB, free: 7.711 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001265/0.4197, allocations: 0.9023 MB / 0.5268 GB, free: 6.801 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4197, allocations: 0 / 0.5268 GB, free: 6.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002401/0.4221, allocations: 0.891 MB / 0.5277 GB, free: 5.906 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.004234/0.4264, allocations: 3.309 MB / 0.5309 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.4293, allocations: 1.837 MB / 0.5327 GB, free: 456 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.4293, allocations: 8.062 kB / 0.5327 GB, free: 448 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009204/0.4303, allocations: 0.6056 MB / 0.5333 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.4322, allocations: 336.2 kB / 0.5337 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2047/0.637, allocations: 18.63 MB / 0.5518 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.6389, allocations: 2.252 MB / 0.554 GB, free: 118.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001526/0.6405, allocations: 0.7622 MB / 0.5548 GB, free: 118.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.6415, allocations: 1.144 MB / 0.5559 GB, free: 117.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6415, allocations: 0 / 0.5559 GB, free: 117.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06445/0.7059, allocations: 40.37 MB / 0.5953 GB, free: 82.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.86, allocations: 3.375 kB / 0.5953 GB, free: 82.36 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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: 15.323586286976933]