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.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.001518/0.001518, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001552/0.001552, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.444/1.444, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 55.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2632, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01259/0.2758, allocations: 12.54 MB / 408.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.2859, allocations: 3.849 MB / 412.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.2889, allocations: 100.1 kB / 412.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01395/0.3029, allocations: 5.215 MB / 418.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008733/0.3116, allocations: 1.618 MB / 419.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005154/0.3168, allocations: 1.208 MB / 420.9 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01218/0.3289, allocations: 6.86 MB / 427.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01702/0.346, allocations: 9.188 MB / 436.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006081/0.3521, allocations: 3.561 MB / 440.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007622/0.3597, allocations: 4.025 MB / 444.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00437/0.364, allocations: 0.918 MB / 445.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005721/0.3698, allocations: 1.09 MB / 446.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003905/0.3737, allocations: 1.932 MB / 448.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006065/0.3797, allocations: 2.98 MB / 451.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.3953, allocations: 12.48 MB / 463.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3953, allocations: 0 / 463.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3953, allocations: 4 kB / 463.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003276/0.3956, allocations: 0 / 463.9 MB, free: 15.28 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.02415/0.4198, allocations: 8.37 MB / 472.3 MB, free: 6.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.4198, allocations: 15.98 kB / 472.3 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003382/0.4232, allocations: 1.129 MB / 473.4 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0322/0.4554, allocations: 5.103 MB / 478.5 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.467, allocations: 3.569 MB / 482.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006281/0.4677, allocations: 0.5098 MB / 482.6 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003104/0.4708, allocations: 0.6679 MB / 483.3 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0295/0.5003, allocations: 10.66 MB / 494 MB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001952/0.5005, allocations: 3.938 kB / 494 MB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/0.5015, allocations: 288 kB / 494.2 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004722/0.502, allocations: 378.7 kB / 494.6 MB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/0.5222, allocations: 9.591 MB / 0.4924 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05772/0.5799, allocations: 27.71 MB / 0.5194 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01332/0.5932, allocations: 5.714 MB / 0.525 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/0.5965, allocations: 1.741 MB / 0.5267 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.6073, allocations: 4.726 MB / 0.5313 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.6074, allocations: 55.94 kB / 0.5314 GB, free: 14.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 4.278e-06/0.6074, allocations: 0 / 0.5314 GB, free: 14.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=150): time 0.006993/0.6144, allocations: 3.027 MB / 0.5343 GB, free: 11.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.6144, allocations: 102.5 kB / 0.5344 GB, free: 11.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/0.619, allocations: 2.743 MB / 0.5371 GB, free: 8.586 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.6192, allocations: 53.7 kB / 0.5372 GB, free: 8.527 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002791/0.622, allocations: 3.244 MB / 0.5403 GB, free: 5.254 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000691/0.6227, allocations: 0.5736 MB / 0.5409 GB, free: 4.676 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.624, allocations: 0.802 MB / 0.5417 GB, free: 3.867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6242, allocations: 301.1 kB / 0.542 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/0.6266, allocations: 1.472 MB / 0.5434 GB, free: 2.098 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004289/0.6309, allocations: 3.257 MB / 0.5466 GB, free: 13.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006754/0.6377, allocations: 4.824 MB / 0.5513 GB, free: 8.309 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.918e-05/0.6377, allocations: 19.94 kB / 0.5513 GB, free: 8.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009295/0.647, allocations: 5.088 MB / 0.5563 GB, free: 3.188 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/0.6471, allocations: 32 kB / 0.5563 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.123e-05/0.6472, allocations: 60 kB / 0.5564 GB, free: 3.098 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008677/0.648, allocations: 349.2 kB / 0.5567 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/0.6513, allocations: 0.8813 MB / 0.5576 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1899/0.8412, allocations: 4.774 MB / 0.5622 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/0.8446, allocations: 0.5533 MB / 0.5628 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000611/0.8452, allocations: 211.1 kB / 0.563 GB, free: 134.9 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.004538/0.8498, allocations: 2.332 MB / 0.5653 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006944/0.8505, allocations: 232 kB / 0.5655 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.8548, allocations: 2.311 MB / 0.5677 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.8548, allocations: 15.22 kB / 0.5677 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.8548, allocations: 7.031 kB / 0.5678 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.8548, allocations: 11.88 kB / 0.5678 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008839/0.8637, allocations: 5.116 MB / 0.5728 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.8637, allocations: 1.062 kB / 0.5728 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.8649, allocations: 264.6 kB / 0.573 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006041/0.8655, allocations: 256.9 kB / 0.5733 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.8656, allocations: 34.14 kB / 0.5733 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004091/0.8697, allocations: 4.685 MB / 0.5779 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8697, allocations: 1.125 kB / 0.5779 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004574/0.8743, allocations: 3.303 MB / 0.5811 GB, free: 126.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.8753, allocations: 409.6 kB / 0.5815 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.8756, allocations: 27.72 kB / 0.5815 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.8767, allocations: 97.72 kB / 0.5816 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.877, allocations: 115.8 kB / 0.5817 GB, free: 125.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.8771, allocations: 46.38 kB / 0.5818 GB, free: 125.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002863/0.8799, allocations: 1.718 MB / 0.5834 GB, free: 125.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8799, allocations: 0 / 0.5834 GB, free: 125.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0049/0.8848, allocations: 1.554 MB / 0.585 GB, free: 125 MB / 478.1 MB 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.004153/0.889, allocations: 3.919 MB / 0.5888 GB, free: 122.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005414/0.8944, allocations: 3.346 MB / 0.592 GB, free: 121.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.8944, allocations: 0 / 0.592 GB, free: 121.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.896, allocations: 1.18 MB / 0.5932 GB, free: 121 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/0.8984, allocations: 0.4899 MB / 0.5937 GB, free: 120.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04254/0.941, allocations: 31.14 MB / 0.6241 GB, free: 91.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003339/0.9443, allocations: 3.685 MB / 0.6277 GB, free: 88.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003092/0.9474, allocations: 1.283 MB / 0.6289 GB, free: 86.87 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002337/0.9498, allocations: 2.12 MB / 0.631 GB, free: 84.75 MB / 478.1 MB Notification: Performance of SimCode: time 1.583e-06/0.9498, allocations: 3.938 kB / 0.631 GB, free: 84.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/1.062, allocations: 70.35 MB / 0.6997 GB, free: 14.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.95, allocations: 15.88 kB / 0.6997 GB, free: 14.19 MB / 478.1 MB " [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/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/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: 17.745962768793106]