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.001246/0.001246, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001376/0.001376, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.437/1.437, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 47.92 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1051, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.2353/0.3404, allocations: 13.99 MB / 441 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008278/0.3487, allocations: 3.85 MB / 444.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/0.3518, allocations: 115.1 kB / 445 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01303/0.3648, allocations: 5.607 MB / 450.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006147/0.3709, allocations: 1.359 MB / 452 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.3746, allocations: 1.195 MB / 453.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009098/0.3837, allocations: 6.39 MB / 459.5 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01667/0.4004, allocations: 10.75 MB / 470.3 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005581/0.4059, allocations: 3.348 MB / 473.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007435/0.4134, allocations: 3.873 MB / 477.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00276/0.4161, allocations: 0.8867 MB / 478.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/0.4205, allocations: 1.086 MB / 479.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002426/0.4229, allocations: 1.784 MB / 481.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006297/0.4292, allocations: 3.568 MB / 484.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.4435, allocations: 11.99 MB / 496.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4436, allocations: 4 kB / 496.8 MB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4436, allocations: 0 / 496.8 MB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002808/0.4438, allocations: 0 / 496.8 MB, free: 11.04 MB / 398.1 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.02238/0.4662, allocations: 7.913 MB / 0.4929 GB, free: 3.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.4663, allocations: 15.88 kB / 0.4929 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002528/0.4665, allocations: 196.2 kB / 0.4931 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00296/0.4695, allocations: 1.061 MB / 0.4942 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01972/0.4892, allocations: 2.881 MB / 0.497 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009986/0.4992, allocations: 3.761 MB / 0.5006 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006073/0.4998, allocations: 485.1 kB / 0.5011 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002824/0.5026, allocations: 0.6327 MB / 0.5017 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02323/0.5258, allocations: 9.379 MB / 0.5109 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000295/0.5261, allocations: 15.94 kB / 0.5109 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001872/0.528, allocations: 268 kB / 0.5111 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003927/0.5284, allocations: 313.6 kB / 0.5114 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/0.5468, allocations: 8.013 MB / 0.5193 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05946/0.6062, allocations: 28.97 MB / 0.5476 GB, free: 9.977 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.6192, allocations: 11.49 MB / 0.5588 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/0.6221, allocations: 1.501 MB / 0.5603 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/0.6225, allocations: 236.4 kB / 0.5605 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/0.6226, allocations: 60.81 kB / 0.5605 GB, free: 10.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=254): time 4.629e-06/0.6226, allocations: 0 / 0.5605 GB, free: 10.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=318): time 0.03107/0.6536, allocations: 13.32 MB / 0.5735 GB, free: 13.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.6537, allocations: 111.7 kB / 0.5737 GB, free: 13.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/0.6573, allocations: 1.907 MB / 0.5755 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004001/0.6577, allocations: 77.7 kB / 0.5756 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002179/0.6599, allocations: 2.641 MB / 0.5782 GB, free: 8.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001461/0.6614, allocations: 1.116 MB / 0.5793 GB, free: 7.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001939/0.6633, allocations: 0.7676 MB / 0.58 GB, free: 6.773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6635, allocations: 305.1 kB / 0.5803 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003131/0.6666, allocations: 1.741 MB / 0.582 GB, free: 4.723 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004292/0.6709, allocations: 2.97 MB / 0.5849 GB, free: 1.199 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007629/0.6785, allocations: 5.024 MB / 0.5898 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.49e-05/0.6786, allocations: 16 kB / 0.5898 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=522) (initialization): time 0.01019/0.6887, allocations: 5.541 MB / 0.5952 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.378e-05/0.6888, allocations: 20 kB / 0.5952 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.059e-05/0.6889, allocations: 44 kB / 0.5953 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.6904, allocations: 0.5486 MB / 0.5958 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003609/0.694, allocations: 0.8892 MB / 0.5967 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.7057, allocations: 9.962 MB / 0.6064 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/0.7084, allocations: 187.9 kB / 0.6066 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/0.7088, allocations: 192 kB / 0.6068 GB, free: 9.668 MB / 0.5137 GB 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 (466): * Single equations (assignments): 462 * 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.003849/0.7126, allocations: 2.253 MB / 0.609 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004929/0.7131, allocations: 242.5 kB / 0.6092 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00756/0.7207, allocations: 4.279 MB / 0.6134 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-05/0.7207, allocations: 36 kB / 0.6134 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/0.7207, allocations: 8 kB / 0.6134 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/0.7208, allocations: 15.94 kB / 0.6135 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2437/0.9645, allocations: 15.18 MB / 0.6283 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-05/0.9645, allocations: 17.11 kB / 0.6283 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/0.9667, allocations: 0.5391 MB / 0.6288 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.968, allocations: 460.5 kB / 0.6293 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002549/0.9682, allocations: 85.03 kB / 0.6293 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007861/0.9761, allocations: 9.009 MB / 0.6381 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.61e-05/0.9761, allocations: 26.5 kB / 0.6382 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009243/0.9853, allocations: 6.5 MB / 0.6445 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.9866, allocations: 0.5984 MB / 0.6451 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/0.9869, allocations: 82.98 kB / 0.6452 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.9884, allocations: 151.7 kB / 0.6453 GB, free: 140.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004831/0.9888, allocations: 269.6 kB / 0.6456 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/0.989, allocations: 117.6 kB / 0.6457 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001829/0.9909, allocations: 1.29 MB / 0.6469 GB, free: 140.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.9909, allocations: 0 / 0.6469 GB, free: 140.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00401/0.9949, allocations: 1.076 MB / 0.648 GB, free: 140.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * 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 (288): * Single equations (assignments): 284 * 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,14,100.0%), (1,5,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008305/1.003, allocations: 7.195 MB / 0.655 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005973/1.009, allocations: 4.651 MB / 0.6596 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/1.009, allocations: 3.906 kB / 0.6596 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/1.012, allocations: 2.336 MB / 0.6619 GB, free: 133.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/1.015, allocations: 0.5464 MB / 0.6624 GB, free: 132.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0394/1.054, allocations: 32.74 MB / 0.6944 GB, free: 102.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003257/1.058, allocations: 4.131 MB / 0.6984 GB, free: 98.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002721/1.06, allocations: 1.286 MB / 0.6997 GB, free: 97.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/1.062, allocations: 2.077 MB / 0.7017 GB, free: 95.29 MB / 0.5137 GB Notification: Performance of SimCode: time 1.082e-06/1.062, allocations: 0 / 0.7017 GB, free: 95.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/1.169, allocations: 76.13 MB / 0.776 GB, free: 19.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.29, allocations: 18.17 kB / 0.776 GB, free: 19.48 MB / 0.5137 GB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/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: 19.297401598014403]