Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001579/0.001579, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.00194/0.00194, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.375/1.375, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 43.92 kB / 378.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2593, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01104/0.2704, allocations: 9.206 MB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005754/0.2761, allocations: 2.663 MB / 443.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.2771, allocations: 79.69 kB / 443.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007787/0.2849, allocations: 3.773 MB / 447.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.2875, allocations: 0.7631 MB / 448.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.2895, allocations: 0.9538 MB / 449.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004179/0.2937, allocations: 3.65 MB / 453 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008957/0.3027, allocations: 6.191 MB / 459.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.3056, allocations: 2.139 MB / 461.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003601/0.3092, allocations: 2.387 MB / 463.7 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.3102, allocations: 0.582 MB / 464.3 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.3119, allocations: 0.8201 MB / 465.1 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009787/0.3128, allocations: 1.11 MB / 466.2 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.3154, allocations: 2.28 MB / 468.5 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00808/0.3235, allocations: 7.924 MB / 476.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3235, allocations: 0 / 476.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3235, allocations: 0 / 476.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001437/0.3236, allocations: 0 / 476.4 MB, free: 10.16 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.0117/0.3354, allocations: 4.865 MB / 481.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3354, allocations: 12.03 kB / 481.3 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001245/0.3355, allocations: 108.6 kB / 481.4 MB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009261/0.3365, allocations: 0.5962 MB / 482 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007527/0.344, allocations: 1.282 MB / 483.3 MB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004772/0.3488, allocations: 2.321 MB / 485.6 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.349, allocations: 308.4 kB / 485.9 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008341/0.3498, allocations: 415.9 kB / 486.3 MB, free: 164 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.3607, allocations: 5.477 MB / 491.8 MB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.663e-05/0.3608, allocations: 4 kB / 491.8 MB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003873/0.3612, allocations: 168 kB / 492 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.3614, allocations: 180.6 kB / 492.2 MB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008588/0.37, allocations: 4.808 MB / 497 MB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02918/0.3992, allocations: 18.55 MB / 0.5034 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/0.4033, allocations: 1.772 MB / 0.5052 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.4046, allocations: 0.7183 MB / 0.5059 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.4047, allocations: 52.88 kB / 0.5059 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.4048, allocations: 43.56 kB / 0.506 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 3.467e-06/0.4048, allocations: 0 / 0.506 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.002592/0.4074, allocations: 1.566 MB / 0.5075 GB, free: 14.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.4074, allocations: 60.41 kB / 0.5075 GB, free: 14.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.4094, allocations: 1.338 MB / 0.5088 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.4095, allocations: 41.7 kB / 0.5089 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.4108, allocations: 1.827 MB / 0.5107 GB, free: 10.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.4111, allocations: 377 kB / 0.511 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006141/0.4117, allocations: 463.6 kB / 0.5115 GB, free: 10.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4119, allocations: 353.9 kB / 0.5118 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.4131, allocations: 0.8317 MB / 0.5126 GB, free: 8.852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.415, allocations: 1.82 MB / 0.5144 GB, free: 6.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/0.4183, allocations: 2.802 MB / 0.5171 GB, free: 3.273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.4183, allocations: 12 kB / 0.5171 GB, free: 3.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004168/0.4224, allocations: 2.739 MB / 0.5198 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.4225, allocations: 20 kB / 0.5198 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.726e-05/0.4225, allocations: 35.98 kB / 0.5199 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.722e-05/0.4226, allocations: 51.98 kB / 0.5199 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.4242, allocations: 0.5226 MB / 0.5204 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.295e-05/0.4243, allocations: 71.72 kB / 0.5205 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.4256, allocations: 302.1 kB / 0.5208 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.4257, allocations: 120 kB / 0.5209 GB, free: 15.4 MB / 446.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.002239/0.428, allocations: 1.477 MB / 0.5223 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.4282, allocations: 131.1 kB / 0.5225 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.4305, allocations: 1.446 MB / 0.5239 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001441/0.4319, allocations: 1.045 MB / 0.5249 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4319, allocations: 0 / 0.5249 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.4319, allocations: 7.922 kB / 0.5249 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2287/0.6606, allocations: 11.07 MB / 0.5357 GB, free: 95.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.988e-05/0.6607, allocations: 21.06 kB / 0.5357 GB, free: 95.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009789/0.6617, allocations: 237.7 kB / 0.536 GB, free: 95.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.514e-05/0.6617, allocations: 27.34 kB / 0.536 GB, free: 95.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.6618, allocations: 49.94 kB / 0.536 GB, free: 95.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.703e-05/0.6619, allocations: 41.92 kB / 0.5361 GB, free: 95.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-05/0.6619, allocations: 35.62 kB / 0.5361 GB, free: 95.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.6651, allocations: 2.671 MB / 0.5387 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006595/0.6658, allocations: 271.5 kB / 0.539 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.666, allocations: 49.52 kB / 0.539 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.6667, allocations: 70.69 kB / 0.5391 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.6669, allocations: 148.7 kB / 0.5392 GB, free: 94.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/0.667, allocations: 59.88 kB / 0.5393 GB, free: 94.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001175/0.6682, allocations: 0.9049 MB / 0.5402 GB, free: 94.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6682, allocations: 3.375 kB / 0.5402 GB, free: 94.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002407/0.6706, allocations: 0.8826 MB / 0.541 GB, free: 94.31 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.003204/0.6738, allocations: 3.306 MB / 0.5443 GB, free: 92.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.6761, allocations: 1.843 MB / 0.5461 GB, free: 91.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.6761, allocations: 4.594 kB / 0.5461 GB, free: 91.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006367/0.6768, allocations: 0.6222 MB / 0.5467 GB, free: 91.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.6786, allocations: 336.4 kB / 0.547 GB, free: 91.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/0.698, allocations: 18.6 MB / 0.5652 GB, free: 77.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/0.6999, allocations: 2.816 MB / 0.5679 GB, free: 74.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001329/0.7012, allocations: 0.7584 MB / 0.5687 GB, free: 73.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009686/0.7022, allocations: 1.148 MB / 0.5698 GB, free: 72.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.552e-06/0.7022, allocations: 4 kB / 0.5698 GB, free: 72.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07418/0.7764, allocations: 41.61 MB / 0.6104 GB, free: 31.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.44, allocations: 10.2 kB / 0.6104 GB, free: 31.3 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 16.14935936499387]