Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001539/0.001539, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001767/0.001767, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 64.08 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3181, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0136/0.3318, allocations: 13.95 MB / 422.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007709/0.3395, allocations: 3.828 MB / 426.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.3416, allocations: 103.7 kB / 426.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01129/0.3529, allocations: 5.579 MB / 432.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005526/0.3585, allocations: 1.34 MB / 433.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.3618, allocations: 1.214 MB / 434.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009606/0.3714, allocations: 6.386 MB / 441.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/0.3886, allocations: 13.66 MB / 454.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/0.3933, allocations: 3.292 MB / 458.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006702/0.4, allocations: 3.85 MB / 462 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003007/0.403, allocations: 0.8867 MB / 462.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003474/0.4065, allocations: 1.082 MB / 463.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002018/0.4086, allocations: 1.773 MB / 465.7 MB, free: 8.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005398/0.414, allocations: 3.568 MB / 469.3 MB, free: 4.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.429, allocations: 11.98 MB / 481.3 MB, free: 8.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.429, allocations: 11.94 kB / 481.3 MB, free: 8.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.429, allocations: 0 / 481.3 MB, free: 8.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000309/0.4294, allocations: 0 / 481.3 MB, free: 8.727 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.02137/0.4507, allocations: 7.909 MB / 489.2 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4508, allocations: 12.03 kB / 489.2 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002036/0.4528, allocations: 1.054 MB / 490.2 MB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01899/0.4719, allocations: 2.951 MB / 493.2 MB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009453/0.4813, allocations: 3.745 MB / 496.9 MB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003944/0.4818, allocations: 485.1 kB / 497.4 MB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002381/0.4842, allocations: 0.6249 MB / 498 MB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.5044, allocations: 9.335 MB / 0.4955 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/0.5046, allocations: 8 kB / 0.4955 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007304/0.5053, allocations: 264 kB / 0.4957 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000296/0.5057, allocations: 313.5 kB / 0.496 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.5202, allocations: 7.974 MB / 0.5038 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04383/0.564, allocations: 28.8 MB / 0.532 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2326/0.7967, allocations: 11.69 MB / 0.5434 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002853/0.7996, allocations: 1.617 MB / 0.545 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.7999, allocations: 220 kB / 0.5452 GB, free: 112.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.7999, allocations: 63 kB / 0.5452 GB, free: 112.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.668e-06/0.7999, allocations: 0 / 0.5452 GB, free: 112.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.006888/0.8068, allocations: 4.173 MB / 0.5493 GB, free: 111.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.8069, allocations: 110.2 kB / 0.5494 GB, free: 111 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.8091, allocations: 1.904 MB / 0.5513 GB, free: 110.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.8092, allocations: 64.8 kB / 0.5513 GB, free: 110.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.8104, allocations: 2.647 MB / 0.5539 GB, free: 108.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/0.8109, allocations: 0.8512 MB / 0.5547 GB, free: 108.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007632/0.8117, allocations: 0.6616 MB / 0.5554 GB, free: 108 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.8117, allocations: 312.9 kB / 0.5557 GB, free: 107.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.8134, allocations: 1.4 MB / 0.5571 GB, free: 107.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.8156, allocations: 2.592 MB / 0.5596 GB, free: 105.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.8193, allocations: 4.231 MB / 0.5637 GB, free: 102.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-05/0.8194, allocations: 11.66 kB / 0.5637 GB, free: 102.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005491/0.8249, allocations: 4.53 MB / 0.5682 GB, free: 100.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.8249, allocations: 23.5 kB / 0.5682 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.99e-05/0.825, allocations: 42.61 kB / 0.5682 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006568/0.8256, allocations: 307.9 kB / 0.5685 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.828, allocations: 0.7785 MB / 0.5693 GB, free: 99.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.8321, allocations: 5.041 MB / 0.5742 GB, free: 94.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.8342, allocations: 421.3 kB / 0.5746 GB, free: 94.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.8344, allocations: 170.1 kB / 0.5748 GB, free: 94.21 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.002744/0.8372, allocations: 2.198 MB / 0.5769 GB, free: 92.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.8375, allocations: 222.5 kB / 0.5771 GB, free: 92.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/0.8417, allocations: 3.186 MB / 0.5802 GB, free: 89.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.8417, allocations: 27.72 kB / 0.5803 GB, free: 89.01 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.8418, allocations: 7.984 kB / 0.5803 GB, free: 89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.8418, allocations: 11.95 kB / 0.5803 GB, free: 88.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.8569, allocations: 12.65 MB / 0.5926 GB, free: 75.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.8569, allocations: 16 kB / 0.5926 GB, free: 75.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.8585, allocations: 435.3 kB / 0.5931 GB, free: 75.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005829/0.8591, allocations: 273.6 kB / 0.5933 GB, free: 75.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.8592, allocations: 63.98 kB / 0.5934 GB, free: 74.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/0.8631, allocations: 4.99 MB / 0.5983 GB, free: 69.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.8631, allocations: 19.94 kB / 0.5983 GB, free: 69.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005334/0.8684, allocations: 5.01 MB / 0.6032 GB, free: 64.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009464/0.8694, allocations: 0.5419 MB / 0.6037 GB, free: 63.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.8697, allocations: 63.94 kB / 0.6038 GB, free: 63.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.8709, allocations: 124 kB / 0.6039 GB, free: 63.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.8711, allocations: 206.8 kB / 0.6041 GB, free: 63.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.8712, allocations: 87.98 kB / 0.6042 GB, free: 63.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001349/0.8726, allocations: 1.291 MB / 0.6054 GB, free: 62.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8726, allocations: 0 / 0.6054 GB, free: 62.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003217/0.8758, allocations: 1.459 MB / 0.6068 GB, free: 60.66 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.005304/0.8811, allocations: 5.666 MB / 0.6124 GB, free: 54.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004307/0.8854, allocations: 3.666 MB / 0.616 GB, free: 51.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.8855, allocations: 4 kB / 0.616 GB, free: 51.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.8872, allocations: 1.689 MB / 0.6176 GB, free: 49.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/0.8897, allocations: 0.5145 MB / 0.6181 GB, free: 48.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03114/0.9208, allocations: 29.02 MB / 0.6464 GB, free: 18.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003191/0.9241, allocations: 4.012 MB / 0.6504 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002635/0.9267, allocations: 1.203 MB / 0.6515 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/0.9286, allocations: 1.991 MB / 0.6535 GB, free: 10.79 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.9286, allocations: 0 / 0.6535 GB, free: 10.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1406/1.069, allocations: 66.24 MB / 0.7182 GB, free: 8.82 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.24, allocations: 10.45 kB / 0.7182 GB, free: 8.816 MB / 0.5138 GB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv","/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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches