Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001549/0.001549, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001566/0.001566, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.365/1.365, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 47.92 kB / 371.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01527/0.2584, allocations: 14.01 MB / 437.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007845/0.2663, allocations: 3.796 MB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.2684, allocations: 119.4 kB / 441.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.2807, allocations: 5.614 MB / 447 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005638/0.2864, allocations: 1.576 MB / 448.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.2894, allocations: 1.087 MB / 449.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008668/0.2981, allocations: 6.397 MB / 456 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01664/0.3147, allocations: 9.134 MB / 465.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004944/0.3197, allocations: 3.367 MB / 468.5 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006301/0.326, allocations: 3.878 MB / 472.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002135/0.3281, allocations: 0.8906 MB / 473.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.3313, allocations: 1.074 MB / 474.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00281/0.3341, allocations: 1.777 MB / 476.2 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005924/0.3401, allocations: 3.564 MB / 479.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.355, allocations: 11.97 MB / 491.7 MB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.355, allocations: 0 / 491.7 MB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.355, allocations: 0 / 491.7 MB, free: 10.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003078/0.3553, allocations: 0 / 491.7 MB, free: 10.03 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.0221/0.3774, allocations: 7.837 MB / 499.5 MB, free: 2.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3774, allocations: 8.031 kB / 499.5 MB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002383/0.3777, allocations: 200.2 kB / 499.7 MB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002999/0.3807, allocations: 1.047 MB / 0.489 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01912/0.3998, allocations: 2.931 MB / 0.4919 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00869/0.4085, allocations: 3.74 MB / 0.4956 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004996/0.409, allocations: 489.1 kB / 0.496 GB, free: 9.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.411, allocations: 0.6366 MB / 0.4966 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02277/0.4338, allocations: 9.355 MB / 0.5058 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003023/0.4341, allocations: 15.89 kB / 0.5058 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001837/0.4359, allocations: 264 kB / 0.506 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003982/0.4363, allocations: 321.5 kB / 0.5064 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.4543, allocations: 7.986 MB / 0.5141 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2409/0.6952, allocations: 27.58 MB / 0.5411 GB, free: 90.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006565/0.7018, allocations: 3.958 MB / 0.545 GB, free: 90.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/0.7038, allocations: 1.501 MB / 0.5464 GB, free: 90.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.704, allocations: 64.3 kB / 0.5465 GB, free: 90.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.704, allocations: 59.5 kB / 0.5465 GB, free: 90.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=254): time 4.258e-06/0.704, allocations: 0 / 0.5465 GB, free: 90.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=318): time 0.02192/0.7259, allocations: 13.02 MB / 0.5593 GB, free: 86.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.726, allocations: 113.3 kB / 0.5594 GB, free: 86.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.728, allocations: 1.904 MB / 0.5612 GB, free: 85.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002397/0.7283, allocations: 76.08 kB / 0.5613 GB, free: 85.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.7294, allocations: 2.635 MB / 0.5639 GB, free: 83.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000677/0.73, allocations: 1.124 MB / 0.565 GB, free: 82.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009423/0.731, allocations: 0.7556 MB / 0.5657 GB, free: 82.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.731, allocations: 305.1 kB / 0.566 GB, free: 82.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.733, allocations: 1.734 MB / 0.5677 GB, free: 81.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.7356, allocations: 2.973 MB / 0.5706 GB, free: 78.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004435/0.74, allocations: 5.008 MB / 0.5755 GB, free: 72.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-05/0.74, allocations: 12.88 kB / 0.5755 GB, free: 72.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.0065/0.7465, allocations: 5.525 MB / 0.5809 GB, free: 67.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.7466, allocations: 24 kB / 0.5809 GB, free: 67.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/0.7466, allocations: 36 kB / 0.5809 GB, free: 67.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.7476, allocations: 0.5478 MB / 0.5815 GB, free: 66.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/0.7504, allocations: 0.8775 MB / 0.5823 GB, free: 65.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/0.7575, allocations: 9.563 MB / 0.5917 GB, free: 55.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.7599, allocations: 199.9 kB / 0.5919 GB, free: 55.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.7601, allocations: 176 kB / 0.592 GB, free: 55.38 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.002868/0.763, allocations: 2.253 MB / 0.5942 GB, free: 53.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/0.7634, allocations: 246.4 kB / 0.5945 GB, free: 52.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/0.7688, allocations: 4.283 MB / 0.5986 GB, free: 48.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.7689, allocations: 36 kB / 0.5987 GB, free: 48.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.7689, allocations: 13.97 kB / 0.5987 GB, free: 48.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.7689, allocations: 15.94 kB / 0.5987 GB, free: 48.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.785, allocations: 13.45 MB / 0.6118 GB, free: 34.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/0.785, allocations: 18.06 kB / 0.6119 GB, free: 34.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/0.7869, allocations: 0.5461 MB / 0.6124 GB, free: 34.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000932/0.7878, allocations: 458.2 kB / 0.6128 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.788, allocations: 87.98 kB / 0.6129 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006301/0.7943, allocations: 8.585 MB / 0.6213 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.7943, allocations: 27.88 kB / 0.6213 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006963/0.8012, allocations: 6.488 MB / 0.6277 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.8026, allocations: 0.5292 MB / 0.6282 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/0.8029, allocations: 79.98 kB / 0.6283 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.8044, allocations: 151.9 kB / 0.6284 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.8047, allocations: 286 kB / 0.6287 GB, free: 16.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.8049, allocations: 104 kB / 0.6288 GB, free: 16.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001402/0.8063, allocations: 1.291 MB / 0.63 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8063, allocations: 0 / 0.63 GB, free: 15.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003614/0.8099, allocations: 1.07 MB / 0.6311 GB, free: 14.23 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.00712/0.817, allocations: 7.187 MB / 0.6381 GB, free: 6.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00566/0.8227, allocations: 4.634 MB / 0.6426 GB, free: 1.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/0.8227, allocations: 4.438 kB / 0.6426 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002832/0.8255, allocations: 2.326 MB / 0.6449 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003032/0.8286, allocations: 0.5478 MB / 0.6454 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05426/0.8828, allocations: 32.85 MB / 0.6775 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004819/0.8876, allocations: 4.136 MB / 0.6816 GB, free: 7.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003386/0.891, allocations: 1.288 MB / 0.6828 GB, free: 6.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002901/0.8939, allocations: 2.065 MB / 0.6848 GB, free: 4.48 MB / 494.1 MB Notification: Performance of SimCode: time 1.553e-06/0.8939, allocations: 0 / 0.6848 GB, free: 4.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3342/1.228, allocations: 79.24 MB / 0.7622 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/17.9, allocations: 4.812 kB / 0.7622 GB, free: 175.2 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.8091405039886]