Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001327/0.001327, allocations: 121.3 kB / 18.45 MB, free: 4.605 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.001281/0.001281, allocations: 189.2 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 207.6 MB / 231.8 MB, free: 4.062 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 55.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09929, allocations: 49.12 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01775/0.117, allocations: 14.66 MB / 406 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009404/0.1264, allocations: 3.964 MB / 410 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.1295, allocations: 87.81 kB / 410.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01345/0.143, allocations: 5.64 MB / 415.7 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006802/0.1498, allocations: 1.749 MB / 417.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.1534, allocations: 1.103 MB / 418.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.1638, allocations: 6.76 MB / 425.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0173/0.1811, allocations: 10.79 MB / 436.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005913/0.187, allocations: 3.502 MB / 439.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007268/0.1943, allocations: 4.154 MB / 443.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002873/0.1972, allocations: 0.918 MB / 444.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003653/0.2008, allocations: 1.094 MB / 445.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003156/0.204, allocations: 1.94 MB / 447.7 MB, free: 84 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007163/0.2111, allocations: 3.793 MB / 451.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2245/0.4357, allocations: 12.42 MB / 464 MB, free: 28.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4357, allocations: 0.5312 kB / 464 MB, free: 28.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4357, allocations: 0.5312 kB / 464 MB, free: 28.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004239/0.4361, allocations: 0 / 464 MB, free: 28.42 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02748/0.4636, allocations: 8.435 MB / 472.4 MB, free: 26.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.4636, allocations: 13.94 kB / 472.4 MB, free: 26.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004242/0.4679, allocations: 1.135 MB / 473.5 MB, free: 25.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03054/0.4984, allocations: 5.106 MB / 478.6 MB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009919/0.5083, allocations: 3.562 MB / 482.2 MB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005051/0.5089, allocations: 0.5095 MB / 482.7 MB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002619/0.5115, allocations: 0.6688 MB / 483.4 MB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/0.5369, allocations: 10.5 MB / 493.9 MB, free: 20.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002691/0.5372, allocations: 8.688 kB / 493.9 MB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001511/0.5387, allocations: 286.2 kB / 494.2 MB, free: 20.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002943/0.539, allocations: 388.5 kB / 494.6 MB, free: 20.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/0.5548, allocations: 9.641 MB / 0.4924 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05621/0.611, allocations: 31.63 MB / 0.5233 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02102/0.632, allocations: 22.62 MB / 0.5454 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/0.6354, allocations: 1.744 MB / 0.5471 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.6472, allocations: 6.237 MB / 0.5532 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.6472, allocations: 55.98 kB / 0.5532 GB, free: 8.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 3.727e-06/0.6472, allocations: 3.844 kB / 0.5532 GB, free: 8.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.006841/0.6541, allocations: 3.164 MB / 0.5563 GB, free: 5.582 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.6541, allocations: 95.31 kB / 0.5564 GB, free: 5.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004336/0.6585, allocations: 2.624 MB / 0.559 GB, free: 2.816 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.6586, allocations: 53.7 kB / 0.559 GB, free: 2.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0024/0.661, allocations: 3.243 MB / 0.5622 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006872/0.6617, allocations: 0.5718 MB / 0.5627 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/0.663, allocations: 0.8115 MB / 0.5635 GB, free: 14.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6631, allocations: 309.1 kB / 0.5638 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/0.6654, allocations: 1.465 MB / 0.5652 GB, free: 12.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/0.6692, allocations: 3.261 MB / 0.5684 GB, free: 8.281 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006283/0.6755, allocations: 4.822 MB / 0.5731 GB, free: 2.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.102e-05/0.6756, allocations: 20 kB / 0.5732 GB, free: 2.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009582/0.6852, allocations: 5.086 MB / 0.5781 GB, free: 14.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/0.6852, allocations: 28 kB / 0.5782 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/0.6853, allocations: 68 kB / 0.5782 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009315/0.6863, allocations: 348.9 kB / 0.5786 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/0.6893, allocations: 0.8764 MB / 0.5794 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/0.6954, allocations: 5.071 MB / 0.5844 GB, free: 7.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/0.6993, allocations: 0.5549 MB / 0.5849 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007253/0.7001, allocations: 208 kB / 0.5851 GB, free: 6.812 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004723/0.7048, allocations: 2.326 MB / 0.5874 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007267/0.7055, allocations: 234.5 kB / 0.5876 GB, free: 4.312 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.7103, allocations: 2.317 MB / 0.5899 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.7103, allocations: 16 kB / 0.5899 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/0.7103, allocations: 7.938 kB / 0.5899 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.7104, allocations: 13.38 kB / 0.5899 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.7229, allocations: 5.347 MB / 0.5951 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/0.7229, allocations: 0 / 0.5951 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.7242, allocations: 254.9 kB / 0.5954 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000714/0.7249, allocations: 257.2 kB / 0.5956 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.725, allocations: 35.98 kB / 0.5956 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005673/0.7307, allocations: 4.949 MB / 0.6005 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7307, allocations: 4.031 kB / 0.6005 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/0.7361, allocations: 3.301 MB / 0.6037 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/0.7376, allocations: 479.1 kB / 0.6042 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/0.7379, allocations: 31.95 kB / 0.6042 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.739, allocations: 95.97 kB / 0.6043 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/0.7393, allocations: 105.2 kB / 0.6044 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.349e-05/0.7394, allocations: 44 kB / 0.6044 GB, free: 2.766 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002687/0.7421, allocations: 1.714 MB / 0.6061 GB, free: 1.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7421, allocations: 1.219 kB / 0.6061 GB, free: 1.035 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004881/0.747, allocations: 1.549 MB / 0.6076 GB, free: 15.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005837/0.7528, allocations: 3.931 MB / 0.6114 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006367/0.7592, allocations: 3.345 MB / 0.6147 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.7592, allocations: 0 / 0.6147 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.7611, allocations: 1.184 MB / 0.6159 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/0.7641, allocations: 0.4918 MB / 0.6164 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05296/0.8171, allocations: 31.04 MB / 0.6467 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005001/0.8221, allocations: 4.192 MB / 0.6508 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003448/0.8255, allocations: 1.287 MB / 0.652 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1852/1.011, allocations: 2.114 MB / 0.6541 GB, free: 206.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/1.011, allocations: 0.7188 kB / 0.6541 GB, free: 206.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/1.125, allocations: 69.15 MB / 0.7216 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/15.22, allocations: 15.83 kB / 0.7216 GB, free: 156.4 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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: 18.14733234466985]