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.00114/0.00114, allocations: 79.7 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008356/0.0008356, allocations: 174 kB / 23.94 MB, free: 0.6133 MB / 18.57 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 0.8574/0.8574, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.19e-05, allocations: 6.219 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.008187/0.008199, allocations: 12.02 MB / 336.6 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003878/0.01208, allocations: 3.71 MB / 340.3 MB, free: 116 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005453/0.01262, allocations: 119.5 kB / 340.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004352/0.01698, allocations: 5.484 MB / 345.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.01903, allocations: 1.425 MB / 347.3 MB, free: 9.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.02027, allocations: 1.182 MB / 348.5 MB, free: 7.895 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004071/0.02434, allocations: 6.686 MB / 355.2 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007054/0.03139, allocations: 9.08 MB / 364.3 MB, free: 7.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003337/0.03473, allocations: 4.942 MB / 369.2 MB, free: 3.031 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.03698, allocations: 3.349 MB / 372.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005635/0.03754, allocations: 0.8828 MB / 373.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009195/0.03846, allocations: 1.085 MB / 374.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.03951, allocations: 1.804 MB / 376.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.0409, allocations: 2.39 MB / 378.7 MB, free: 9.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006408/0.04731, allocations: 12.12 MB / 390.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.04731, allocations: 0 / 390.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.04731, allocations: 0 / 390.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.898e-05/0.04738, allocations: 0 / 390.9 MB, free: 13.35 MB / 362.7 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.009161/0.05654, allocations: 7.783 MB / 398.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.05658, allocations: 12.03 kB / 398.7 MB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009592/0.05754, allocations: 1.05 MB / 399.7 MB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008694/0.06623, allocations: 2.877 MB / 402.6 MB, free: 1.543 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.0702, allocations: 3.752 MB / 406.3 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.0704, allocations: 481.1 kB / 406.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005777/0.07098, allocations: 0.6327 MB / 407.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009162/0.08014, allocations: 9.505 MB / 416.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-05/0.08023, allocations: 15.94 kB / 417 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004123/0.08064, allocations: 263.9 kB / 417.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.08081, allocations: 317.5 kB / 417.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007925/0.08874, allocations: 7.946 MB / 425.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02293/0.1117, allocations: 25.23 MB / 450.7 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.158/0.2697, allocations: 3.92 MB / 454.6 MB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.2713, allocations: 1.462 MB / 456.1 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.2715, allocations: 60.55 kB / 456.1 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2715, allocations: 68.28 kB / 456.2 MB, free: 106.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 5.099e-06/0.2715, allocations: 0 / 456.2 MB, free: 106.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.004494/0.276, allocations: 4.027 MB / 460.2 MB, free: 105.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.276, allocations: 102.1 kB / 460.3 MB, free: 105.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.2777, allocations: 1.98 MB / 462.3 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.565e-05/0.2777, allocations: 67.92 kB / 462.4 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007048/0.2784, allocations: 2.634 MB / 465 MB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.2788, allocations: 0.8359 MB / 465.8 MB, free: 102.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000521/0.2793, allocations: 0.6685 MB / 466.5 MB, free: 102.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.654e-05/0.2793, allocations: 309 kB / 466.8 MB, free: 101.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.2805, allocations: 1.408 MB / 468.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.2818, allocations: 2.603 MB / 470.8 MB, free: 99.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.2845, allocations: 4.241 MB / 475.1 MB, free: 94.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/0.2845, allocations: 12 kB / 475.1 MB, free: 94.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00379/0.2883, allocations: 4.531 MB / 479.6 MB, free: 90.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.2883, allocations: 23.94 kB / 479.6 MB, free: 90.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.2883, allocations: 40 kB / 479.7 MB, free: 90.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004466/0.2888, allocations: 307.8 kB / 480 MB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.29, allocations: 0.7847 MB / 480.8 MB, free: 89.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.2933, allocations: 4.787 MB / 485.5 MB, free: 84.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.2947, allocations: 421.1 kB / 486 MB, free: 84.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.2949, allocations: 164 kB / 486.1 MB, free: 84.01 MB / 410.7 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 (414): * Single equations (assignments): 412 * 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.002325/0.2972, allocations: 2.191 MB / 488.3 MB, free: 81.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.2974, allocations: 214.6 kB / 488.5 MB, free: 81.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002817/0.3002, allocations: 3.17 MB / 491.7 MB, free: 78.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3002, allocations: 27.94 kB / 491.7 MB, free: 78.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3003, allocations: 6.844 kB / 491.7 MB, free: 78.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.3003, allocations: 15.95 kB / 491.7 MB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009484/0.3097, allocations: 10.75 MB / 0.4907 GB, free: 67.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.3098, allocations: 12 kB / 0.4907 GB, free: 67.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008215/0.3106, allocations: 443.3 kB / 0.4911 GB, free: 66.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/0.311, allocations: 277.7 kB / 0.4914 GB, free: 66.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/0.311, allocations: 75.58 kB / 0.4915 GB, free: 66.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.3136, allocations: 4.714 MB / 0.4961 GB, free: 61.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3136, allocations: 26.5 kB / 0.4961 GB, free: 61.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/0.3173, allocations: 4.987 MB / 0.501 GB, free: 56.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/0.3179, allocations: 481.8 kB / 0.5014 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.318, allocations: 67.98 kB / 0.5015 GB, free: 55.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/0.3187, allocations: 115.9 kB / 0.5016 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.3189, allocations: 213.2 kB / 0.5018 GB, free: 55.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.319, allocations: 91.92 kB / 0.5019 GB, free: 55.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.32, allocations: 1.291 MB / 0.5032 GB, free: 54.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.32, allocations: 4.062 kB / 0.5032 GB, free: 54.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00255/0.3226, allocations: 1.463 MB / 0.5046 GB, free: 52.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * 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 (226): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.003883/0.3265, allocations: 5.654 MB / 0.5101 GB, free: 46.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.3299, allocations: 3.496 MB / 0.5135 GB, free: 43.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.3299, allocations: 4 kB / 0.5135 GB, free: 43.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.3312, allocations: 1.6 MB / 0.5151 GB, free: 41.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.3329, allocations: 0.5088 MB / 0.5156 GB, free: 41.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02675/0.3597, allocations: 29.01 MB / 0.5439 GB, free: 10.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.362, allocations: 3.49 MB / 0.5473 GB, free: 6.867 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001756/0.3637, allocations: 1.199 MB / 0.5485 GB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.3651, allocations: 2.012 MB / 0.5505 GB, free: 3.645 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3651, allocations: 0 / 0.5505 GB, free: 3.645 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2131/0.5782, allocations: 68.67 MB / 0.6175 GB, free: 160.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.894, allocations: 2.688 kB / 0.6175 GB, free: 160.9 MB / 474.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/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: 10.712848246097565]