Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 107.1 kB / 17.06 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 195.9 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2743, allocations: 49.44 MB / 400.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0165/0.2909, allocations: 13.92 MB / 414.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00935/0.3003, allocations: 3.777 MB / 418 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.3024, allocations: 99.75 kB / 418.1 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01316/0.3157, allocations: 5.568 MB / 423.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006146/0.3218, allocations: 1.503 MB / 425.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.3256, allocations: 1.073 MB / 426.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01032/0.3359, allocations: 6.288 MB / 432.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02111/0.3571, allocations: 13.65 MB / 446.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005058/0.3622, allocations: 3.292 MB / 449.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006119/0.3683, allocations: 3.843 MB / 453.3 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001919/0.3703, allocations: 0.8867 MB / 454.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.373, allocations: 1.078 MB / 455.2 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.3749, allocations: 1.769 MB / 457 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006889/0.3818, allocations: 3.568 MB / 460.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.3984, allocations: 11.97 MB / 472.5 MB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3985, allocations: 4 kB / 472.5 MB, free: 240 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3985, allocations: 0 / 472.5 MB, free: 240 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003274/0.3988, allocations: 3.984 kB / 472.5 MB, free: 236 kB / 382.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.02284/0.4217, allocations: 7.905 MB / 480.4 MB, free: 8.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.4218, allocations: 16.02 kB / 480.5 MB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00265/0.4244, allocations: 1.047 MB / 481.5 MB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01879/0.4432, allocations: 2.927 MB / 484.4 MB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007839/0.4511, allocations: 3.742 MB / 488.2 MB, free: 448 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004684/0.4516, allocations: 489.1 kB / 488.7 MB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/0.4535, allocations: 0.6288 MB / 489.3 MB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02258/0.4761, allocations: 9.331 MB / 498.6 MB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.4763, allocations: 7.953 kB / 498.6 MB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000786/0.4771, allocations: 268 kB / 498.9 MB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003279/0.4774, allocations: 317.4 kB / 499.2 MB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01821/0.4957, allocations: 7.966 MB / 0.4953 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0521/0.5478, allocations: 28.32 MB / 0.5229 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.5608, allocations: 11.71 MB / 0.5344 GB, free: 2.805 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002678/0.5635, allocations: 1.618 MB / 0.5359 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.5637, allocations: 139 kB / 0.5361 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.72e-05/0.5638, allocations: 60.56 kB / 0.5361 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 6.341e-06/0.5638, allocations: 0 / 0.5361 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.2201/0.7839, allocations: 4.17 MB / 0.5402 GB, free: 124.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.784, allocations: 102.8 kB / 0.5403 GB, free: 124.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.7863, allocations: 1.905 MB / 0.5422 GB, free: 123.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.7864, allocations: 61.64 kB / 0.5422 GB, free: 123.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.7876, allocations: 2.646 MB / 0.5448 GB, free: 122.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.7881, allocations: 0.8465 MB / 0.5456 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007773/0.7889, allocations: 0.6697 MB / 0.5463 GB, free: 121.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.7889, allocations: 301.1 kB / 0.5466 GB, free: 121.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.7905, allocations: 1.403 MB / 0.5479 GB, free: 120.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.7927, allocations: 2.599 MB / 0.5505 GB, free: 118.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004189/0.7969, allocations: 4.228 MB / 0.5546 GB, free: 115.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.078e-05/0.797, allocations: 15.81 kB / 0.5546 GB, free: 115.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005848/0.8029, allocations: 4.523 MB / 0.559 GB, free: 113.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.8029, allocations: 26.47 kB / 0.5591 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.93e-05/0.803, allocations: 38.66 kB / 0.5591 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/0.8037, allocations: 317.4 kB / 0.5594 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.8061, allocations: 0.7827 MB / 0.5602 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.8101, allocations: 5.047 MB / 0.5651 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.8124, allocations: 419.3 kB / 0.5655 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.8126, allocations: 163.8 kB / 0.5657 GB, free: 108.8 MB / 462.1 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.002939/0.8156, allocations: 2.191 MB / 0.5678 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.8159, allocations: 218.6 kB / 0.568 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/0.8201, allocations: 3.181 MB / 0.5711 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.8202, allocations: 24 kB / 0.5711 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.8202, allocations: 4 kB / 0.5711 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.8202, allocations: 11.95 kB / 0.5712 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/0.834, allocations: 11.77 MB / 0.5826 GB, free: 91.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.8341, allocations: 12 kB / 0.5827 GB, free: 91.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.8356, allocations: 443.3 kB / 0.5831 GB, free: 91.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005928/0.8362, allocations: 277.6 kB / 0.5833 GB, free: 91.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.8364, allocations: 68.17 kB / 0.5834 GB, free: 91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003917/0.8403, allocations: 4.984 MB / 0.5883 GB, free: 85.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.8403, allocations: 23.88 kB / 0.5883 GB, free: 85.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/0.8459, allocations: 5.007 MB / 0.5932 GB, free: 80.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.847, allocations: 0.5341 MB / 0.5937 GB, free: 79.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.8473, allocations: 68.14 kB / 0.5938 GB, free: 79.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.8486, allocations: 127.9 kB / 0.5939 GB, free: 79.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003716/0.849, allocations: 209.2 kB / 0.5941 GB, free: 79.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.8491, allocations: 83.98 kB / 0.5942 GB, free: 79.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001764/0.8509, allocations: 1.287 MB / 0.5954 GB, free: 78.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8509, allocations: 0 / 0.5954 GB, free: 78.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004434/0.8553, allocations: 1.459 MB / 0.5969 GB, free: 76.73 MB / 462.1 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.005784/0.8611, allocations: 5.677 MB / 0.6024 GB, free: 70.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004705/0.8659, allocations: 3.655 MB / 0.606 GB, free: 67.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/0.8659, allocations: 4.375 kB / 0.606 GB, free: 67.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.8678, allocations: 1.696 MB / 0.6076 GB, free: 65.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.8705, allocations: 0.5147 MB / 0.6081 GB, free: 64.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03362/0.9041, allocations: 29.02 MB / 0.6365 GB, free: 34.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002963/0.9071, allocations: 4.008 MB / 0.6404 GB, free: 30.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002463/0.9096, allocations: 1.191 MB / 0.6416 GB, free: 28.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/0.9115, allocations: 2.003 MB / 0.6435 GB, free: 26.86 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.9115, allocations: 0 / 0.6435 GB, free: 26.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/1.029, allocations: 66.21 MB / 0.7082 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/15.14, allocations: 19.41 kB / 0.7082 GB, free: 8.945 MB / 0.4981 GB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches