Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001398/0.001398, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001398/0.001398, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.363/1.363, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 55.91 kB / 378.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2681, allocations: 53.36 MB / 431.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01536/0.2835, allocations: 11.99 MB / 443.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009699/0.2931, allocations: 3.695 MB / 447.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003025/0.2962, allocations: 119.4 kB / 447.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01257/0.3087, allocations: 5.156 MB / 452.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.3143, allocations: 1.414 MB / 454.3 MB, free: 184 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.318, allocations: 1.187 MB / 455.4 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009281/0.3272, allocations: 6.486 MB / 461.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01761/0.3448, allocations: 9.154 MB / 471.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00535/0.3502, allocations: 3.359 MB / 474.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007226/0.3574, allocations: 3.89 MB / 478.3 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002678/0.3601, allocations: 0.8828 MB / 479.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/0.3637, allocations: 1.09 MB / 480.3 MB, free: 5.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002892/0.3666, allocations: 1.769 MB / 482.1 MB, free: 4.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005621/0.3723, allocations: 2.794 MB / 484.9 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.3871, allocations: 12.05 MB / 496.9 MB, free: 5.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3871, allocations: 0 / 496.9 MB, free: 5.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3871, allocations: 0 / 496.9 MB, free: 5.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003615/0.3874, allocations: 3.938 kB / 496.9 MB, free: 5.305 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02252/0.41, allocations: 7.837 MB / 0.4929 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.41, allocations: 8.031 kB / 0.4929 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000256/0.4103, allocations: 200.1 kB / 0.4931 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002592/0.4129, allocations: 1.066 MB / 0.4942 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01843/0.4313, allocations: 2.877 MB / 0.497 GB, free: 9.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008382/0.4397, allocations: 3.748 MB / 0.5006 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/0.4401, allocations: 489.1 kB / 0.5011 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/0.4421, allocations: 0.6327 MB / 0.5017 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/0.4624, allocations: 9.533 MB / 0.511 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/0.4626, allocations: 15.91 kB / 0.511 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008185/0.4634, allocations: 268 kB / 0.5113 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003473/0.4637, allocations: 317.5 kB / 0.5116 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.4797, allocations: 8.013 MB / 0.5194 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2766/0.7563, allocations: 25.39 MB / 0.5442 GB, free: 85.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006406/0.7627, allocations: 3.937 MB / 0.5481 GB, free: 85.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.7643, allocations: 1.492 MB / 0.5495 GB, free: 85.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.7645, allocations: 71.75 kB / 0.5496 GB, free: 85.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.7646, allocations: 59.66 kB / 0.5496 GB, free: 85.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=254): time 4.689e-06/0.7646, allocations: 0 / 0.5496 GB, free: 85.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=318): time 0.02188/0.7864, allocations: 13.02 MB / 0.5624 GB, free: 80.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.7865, allocations: 114.3 kB / 0.5625 GB, free: 79.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.7885, allocations: 1.91 MB / 0.5643 GB, free: 78.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002271/0.7887, allocations: 77.7 kB / 0.5644 GB, free: 78.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.7897, allocations: 2.64 MB / 0.567 GB, free: 76.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005913/0.7903, allocations: 1.118 MB / 0.5681 GB, free: 74.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008414/0.7912, allocations: 0.7676 MB / 0.5688 GB, free: 74.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.7912, allocations: 305.1 kB / 0.5691 GB, free: 73.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.7931, allocations: 1.737 MB / 0.5708 GB, free: 72.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.7953, allocations: 2.967 MB / 0.5737 GB, free: 68.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/0.7995, allocations: 5.031 MB / 0.5786 GB, free: 63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.018e-05/0.7995, allocations: 12 kB / 0.5786 GB, free: 62.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.006314/0.8058, allocations: 5.55 MB / 0.5841 GB, free: 57.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.8059, allocations: 23.94 kB / 0.5841 GB, free: 57.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.8059, allocations: 40 kB / 0.5841 GB, free: 57.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.807, allocations: 0.5349 MB / 0.5846 GB, free: 56.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/0.8097, allocations: 0.893 MB / 0.5855 GB, free: 55.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/0.8167, allocations: 9.436 MB / 0.5947 GB, free: 46.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.819, allocations: 195.9 kB / 0.5949 GB, free: 45.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/0.8193, allocations: 184 kB / 0.5951 GB, free: 45.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (466): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,22,100.0%), (2,22,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002713/0.822, allocations: 2.249 MB / 0.5973 GB, free: 43.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004116/0.8224, allocations: 250.3 kB / 0.5975 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005421/0.8278, allocations: 4.275 MB / 0.6017 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.8278, allocations: 32.38 kB / 0.6017 GB, free: 38.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.8278, allocations: 8 kB / 0.6017 GB, free: 38.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.8279, allocations: 15.94 kB / 0.6018 GB, free: 38.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.8436, allocations: 13.15 MB / 0.6146 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/0.8436, allocations: 16 kB / 0.6146 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.8455, allocations: 0.5421 MB / 0.6151 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009538/0.8464, allocations: 471.6 kB / 0.6156 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.8466, allocations: 87.97 kB / 0.6157 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006147/0.8528, allocations: 8.482 MB / 0.624 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.8528, allocations: 27.88 kB / 0.624 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006899/0.8597, allocations: 6.507 MB / 0.6303 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.8607, allocations: 0.5333 MB / 0.6309 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.861, allocations: 83.92 kB / 0.6309 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.8624, allocations: 147.9 kB / 0.6311 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/0.8627, allocations: 282.2 kB / 0.6313 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.8629, allocations: 116 kB / 0.6315 GB, free: 7.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001319/0.8642, allocations: 1.291 MB / 0.6327 GB, free: 5.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8642, allocations: 4 kB / 0.6327 GB, free: 5.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003332/0.8676, allocations: 1.078 MB / 0.6338 GB, free: 4.902 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (288): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,22,100.0%), (2,14,100.0%), (1,5,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007994/0.8755, allocations: 7.202 MB / 0.6408 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007445/0.883, allocations: 4.65 MB / 0.6453 GB, free: 8.582 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.362e-05/0.883, allocations: 8.062 kB / 0.6454 GB, free: 8.574 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003568/0.8866, allocations: 2.328 MB / 0.6476 GB, free: 6.199 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.8895, allocations: 0.5423 MB / 0.6482 GB, free: 5.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0512/0.9407, allocations: 32.83 MB / 0.6802 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004239/0.9449, allocations: 3.622 MB / 0.6838 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003212/0.9481, allocations: 1.288 MB / 0.685 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002725/0.9509, allocations: 2.077 MB / 0.687 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.9509, allocations: 0 / 0.687 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3557/1.307, allocations: 79.73 MB / 0.7649 GB, free: 188.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.74, allocations: 9.656 kB / 0.7649 GB, free: 188.7 MB / 0.545 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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: 20.675119335995987]