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.0008196/0.0008196, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.00395/0.00395, allocations: 159.4 kB / 24.69 MB, free: 9.422 MB / 18.57 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 0.8495/0.8495, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.49e-05, allocations: 2.281 kB / 298.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.1395/0.1395, allocations: 12.56 MB / 311 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007943/0.1475, allocations: 3.837 MB / 314.8 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.149, allocations: 99.78 kB / 314.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00499/0.154, allocations: 5.533 MB / 320.5 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.1568, allocations: 1.653 MB / 322.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.1583, allocations: 1.197 MB / 323.3 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00498/0.1633, allocations: 7.072 MB / 330.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008062/0.1714, allocations: 9.214 MB / 339.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.176, allocations: 5.21 MB / 344.8 MB, free: 320 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003019/0.179, allocations: 3.62 MB / 348.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00078/0.1798, allocations: 0.918 MB / 349.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.181, allocations: 1.097 MB / 350.5 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.1824, allocations: 1.963 MB / 352.4 MB, free: 8.699 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002773/0.1852, allocations: 2.549 MB / 355 MB, free: 6.145 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008917/0.1941, allocations: 12.53 MB / 367.5 MB, free: 9.578 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1941, allocations: 4 kB / 367.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1941, allocations: 0 / 367.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001389/0.1942, allocations: 0 / 367.5 MB, free: 9.574 MB / 330.7 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.01138/0.2056, allocations: 8.303 MB / 375.8 MB, free: 1.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.2057, allocations: 11.98 kB / 375.8 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001324/0.207, allocations: 1.145 MB / 377 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/0.2221, allocations: 5.107 MB / 382.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005361/0.2275, allocations: 3.558 MB / 385.6 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.2277, allocations: 0.5137 MB / 386.1 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007937/0.2285, allocations: 0.6718 MB / 386.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/0.2401, allocations: 10.64 MB / 397.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-05/0.2402, allocations: 11.94 kB / 397.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004711/0.2407, allocations: 288 kB / 397.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/0.2409, allocations: 383.7 kB / 398.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.2515, allocations: 9.598 MB / 407.7 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0283/0.2798, allocations: 27.7 MB / 435.4 MB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007078/0.2869, allocations: 5.736 MB / 441.2 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.2886, allocations: 1.742 MB / 442.9 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/0.2999, allocations: 4.726 MB / 447.6 MB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.3, allocations: 48.06 kB / 447.7 MB, free: 8.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.508e-06/0.3, allocations: 0 / 447.7 MB, free: 8.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.005913/0.3059, allocations: 3.018 MB / 450.7 MB, free: 5.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.306, allocations: 102.5 kB / 450.8 MB, free: 5.719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/0.3104, allocations: 2.763 MB / 453.6 MB, free: 2.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.3106, allocations: 45.7 kB / 453.6 MB, free: 2.871 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001763/0.3123, allocations: 3.232 MB / 456.8 MB, free: 15.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.3128, allocations: 0.5658 MB / 457.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008163/0.3136, allocations: 0.798 MB / 458.2 MB, free: 14.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.906e-05/0.3137, allocations: 301.1 kB / 458.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.3152, allocations: 1.468 MB / 460 MB, free: 12.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.3175, allocations: 3.253 MB / 463.2 MB, free: 8.359 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004007/0.3216, allocations: 4.828 MB / 468 MB, free: 2.676 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.404e-05/0.3216, allocations: 20 kB / 468.1 MB, free: 2.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.1497/0.4713, allocations: 5.082 MB / 473.1 MB, free: 128 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/0.4714, allocations: 32.02 kB / 473.2 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-05/0.4714, allocations: 61.28 kB / 473.2 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.472, allocations: 333.9 kB / 473.6 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.4737, allocations: 0.8831 MB / 474.4 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.477, allocations: 4.79 MB / 479.2 MB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.4791, allocations: 0.5509 MB / 479.8 MB, free: 125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/0.4794, allocations: 214.4 kB / 480 MB, free: 125 MB / 426.7 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.00316/0.4825, allocations: 2.331 MB / 482.3 MB, free: 124 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/0.4829, allocations: 237.8 kB / 482.6 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.4856, allocations: 2.307 MB / 484.9 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.4856, allocations: 22.58 kB / 484.9 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.4856, allocations: 4.625 kB / 484.9 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.4856, allocations: 14.34 kB / 484.9 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007106/0.4927, allocations: 5.113 MB / 490 MB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.4927, allocations: 5.5 kB / 490 MB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/0.4934, allocations: 257 kB / 490.3 MB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.4939, allocations: 254.9 kB / 490.5 MB, free: 121 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.4939, allocations: 34.06 kB / 490.6 MB, free: 121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/0.4968, allocations: 4.679 MB / 495.2 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4968, allocations: 1.375 kB / 495.2 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/0.4998, allocations: 3.314 MB / 498.6 MB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/0.5004, allocations: 408.8 kB / 499 MB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.5006, allocations: 26.84 kB / 499 MB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005764/0.5011, allocations: 97.33 kB / 499.1 MB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.5013, allocations: 117.3 kB / 499.2 MB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.5014, allocations: 44.98 kB / 499.2 MB, free: 115.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001568/0.5029, allocations: 1.716 MB / 0.4892 GB, free: 114.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5029, allocations: 0 / 0.4892 GB, free: 114.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003041/0.506, allocations: 1.548 MB / 0.4907 GB, free: 114.6 MB / 426.7 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.002814/0.5088, allocations: 3.923 MB / 0.4945 GB, free: 112.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003521/0.5123, allocations: 3.346 MB / 0.4978 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5123, allocations: 0 / 0.4978 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009002/0.5132, allocations: 1.182 MB / 0.499 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.5147, allocations: 491.8 kB / 0.4994 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/0.5407, allocations: 31.03 MB / 0.5297 GB, free: 79.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002061/0.5428, allocations: 3.685 MB / 0.5333 GB, free: 75.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001775/0.5445, allocations: 1.283 MB / 0.5346 GB, free: 74.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/0.5458, allocations: 2.125 MB / 0.5367 GB, free: 72.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5458, allocations: 7.938 kB / 0.5367 GB, free: 72.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08427/0.6301, allocations: 70.33 MB / 0.6054 GB, free: 1.938 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/9.407, allocations: 0 / 0.6054 GB, free: 1.938 MB / 426.7 MB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/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: 11.234745847061276]