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.001231/0.001231, allocations: 103.2 kB / 21.96 MB, free: 5.215 MB / 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.001445/0.001445, allocations: 214.5 kB / 25.26 MB, free: 3.129 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.305/1.305, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="cs",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.001641/0.001641, allocations: 55.86 kB / 348 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2427, allocations: 49.15 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01121/0.2539, allocations: 12.54 MB / 409.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008472/0.2624, allocations: 3.838 MB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.2649, allocations: 100.5 kB / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.277, allocations: 5.206 MB / 418.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006926/0.284, allocations: 1.643 MB / 420.5 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.2875, allocations: 1.205 MB / 421.7 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01175/0.2993, allocations: 6.852 MB / 428.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01456/0.3139, allocations: 9.277 MB / 437.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005912/0.3198, allocations: 3.569 MB / 441.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007327/0.3271, allocations: 4.166 MB / 445.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002464/0.3296, allocations: 0.918 MB / 446.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.3331, allocations: 1.097 MB / 447.6 MB, free: 492 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.3355, allocations: 1.933 MB / 449.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004925/0.3404, allocations: 2.98 MB / 452.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.3542, allocations: 12.49 MB / 465 MB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3542, allocations: 0 / 465 MB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3542, allocations: 4 kB / 465 MB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003047/0.3545, allocations: 3.938 kB / 465 MB, free: 15.02 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.02114/0.3757, allocations: 8.362 MB / 473.3 MB, free: 6.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3757, allocations: 15.98 kB / 473.3 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002299/0.3759, allocations: 214.7 kB / 473.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00216/0.3781, allocations: 1.141 MB / 474.7 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03/0.4081, allocations: 5.107 MB / 479.8 MB, free: 84 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008078/0.4162, allocations: 3.569 MB / 483.4 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004467/0.4166, allocations: 0.5138 MB / 483.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/0.4185, allocations: 0.6796 MB / 484.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02454/0.443, allocations: 10.67 MB / 495.2 MB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/0.4432, allocations: 11.94 kB / 495.2 MB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001036/0.4442, allocations: 292 kB / 495.5 MB, free: 228 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004086/0.4446, allocations: 378.8 kB / 495.9 MB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.4623, allocations: 9.669 MB / 0.4937 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05052/0.5129, allocations: 27.77 MB / 0.5208 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.5245, allocations: 5.73 MB / 0.5264 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002984/0.5275, allocations: 1.787 MB / 0.5282 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009756/0.5372, allocations: 4.827 MB / 0.5329 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.998e-05/0.5373, allocations: 56.06 kB / 0.5329 GB, free: 13.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=166): time 4.248e-06/0.5373, allocations: 0 / 0.5329 GB, free: 13.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=218): time 0.02302/0.5603, allocations: 10.71 MB / 0.5434 GB, free: 2.883 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.5604, allocations: 99.08 kB / 0.5435 GB, free: 2.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/0.5644, allocations: 2.632 MB / 0.5461 GB, free: 108 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002769/0.5647, allocations: 61.7 kB / 0.5461 GB, free: 40 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.567, allocations: 3.237 MB / 0.5493 GB, free: 12.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008357/0.5678, allocations: 0.8098 MB / 0.5501 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.5691, allocations: 0.8858 MB / 0.5509 GB, free: 11.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5693, allocations: 301.1 kB / 0.5512 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/0.5718, allocations: 1.726 MB / 0.5529 GB, free: 9.023 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/0.5761, allocations: 3.56 MB / 0.5564 GB, free: 4.582 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1936/0.7697, allocations: 5.444 MB / 0.5617 GB, free: 136.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.825e-05/0.7698, allocations: 17.72 kB / 0.5617 GB, free: 136.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.00916/0.7789, allocations: 5.936 MB / 0.5675 GB, free: 134.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.779, allocations: 31.62 kB / 0.5676 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-05/0.7791, allocations: 60.44 kB / 0.5676 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.7803, allocations: 0.5538 MB / 0.5682 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/0.7836, allocations: 0.9647 MB / 0.5691 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008307/0.7919, allocations: 9.452 MB / 0.5783 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/0.795, allocations: 256 kB / 0.5786 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003902/0.7954, allocations: 225.3 kB / 0.5788 GB, free: 127.2 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 (514): * Single equations (assignments): 510 * 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.003476/0.7989, allocations: 2.38 MB / 0.5811 GB, free: 126.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.7993, allocations: 253.4 kB / 0.5814 GB, free: 126.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004502/0.8038, allocations: 3.238 MB / 0.5845 GB, free: 124.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.8038, allocations: 22.31 kB / 0.5845 GB, free: 124.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.8038, allocations: 8.531 kB / 0.5845 GB, free: 124.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.8038, allocations: 13.17 kB / 0.5846 GB, free: 124.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.8146, allocations: 8.075 MB / 0.5924 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.8146, allocations: 0 / 0.5924 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.816, allocations: 352 kB / 0.5928 GB, free: 121.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009381/0.8169, allocations: 448.2 kB / 0.5932 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.817, allocations: 43.52 kB / 0.5933 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006075/0.8231, allocations: 8.431 MB / 0.6015 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8231, allocations: 0 / 0.6015 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/0.8284, allocations: 4.594 MB / 0.606 GB, free: 112.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009381/0.8293, allocations: 467.7 kB / 0.6064 GB, free: 111.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.8297, allocations: 48.06 kB / 0.6065 GB, free: 111.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.8308, allocations: 124.1 kB / 0.6066 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002856/0.8311, allocations: 157.4 kB / 0.6067 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.8312, allocations: 63.27 kB / 0.6068 GB, free: 111.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.8331, allocations: 1.713 MB / 0.6085 GB, free: 109.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8331, allocations: 2.406 kB / 0.6085 GB, free: 109.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00358/0.8366, allocations: 1.111 MB / 0.6096 GB, free: 108.6 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 (184): * Single equations (assignments): 180 * 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 {(1,5,100.0%), (1,3,100.0%), (2,22,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005104/0.8417, allocations: 5.235 MB / 0.6147 GB, free: 103.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005314/0.8471, allocations: 4.356 MB / 0.6189 GB, free: 98.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.8471, allocations: 0 / 0.6189 GB, free: 98.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.8491, allocations: 1.872 MB / 0.6207 GB, free: 97.06 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.8514, allocations: 0.4985 MB / 0.6212 GB, free: 96.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03884/0.8903, allocations: 34.25 MB / 0.6547 GB, free: 59.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003484/0.8938, allocations: 3.797 MB / 0.6584 GB, free: 56 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002868/0.8966, allocations: 1.367 MB / 0.6597 GB, free: 54.63 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/0.8986, allocations: 2.214 MB / 0.6619 GB, free: 52.41 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.8986, allocations: 0 / 0.6619 GB, free: 52.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1251/1.024, allocations: 78.47 MB / 0.7385 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.07, allocations: 11.91 kB / 0.7385 GB, free: 5.742 MB / 0.4981 GB " [Timeout remaining time 642] (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: 21.055218481924385]