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.001298/0.001299, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 67.88 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3178, allocations: 50.55 MB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01604/0.3339, allocations: 13.94 MB / 422.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009272/0.3432, allocations: 3.835 MB / 426.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.3459, allocations: 95.75 kB / 426.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.3583, allocations: 5.56 MB / 432.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.3639, allocations: 1.355 MB / 433.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.3673, allocations: 1.197 MB / 434.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008997/0.3763, allocations: 6.382 MB / 441.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01939/0.3958, allocations: 13.67 MB / 454.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005126/0.4009, allocations: 3.284 MB / 458.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006862/0.4078, allocations: 3.858 MB / 462 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002487/0.4103, allocations: 0.8828 MB / 462.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/0.4137, allocations: 1.09 MB / 464 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002207/0.4159, allocations: 1.765 MB / 465.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004964/0.4209, allocations: 3.564 MB / 469.3 MB, free: 4.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.4351, allocations: 11.99 MB / 481.3 MB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4352, allocations: 0 / 481.3 MB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4352, allocations: 0 / 481.3 MB, free: 8.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003321/0.4355, allocations: 0 / 481.3 MB, free: 8.672 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.02234/0.4578, allocations: 7.917 MB / 489.2 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4579, allocations: 8.031 kB / 489.2 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0024/0.4603, allocations: 1.055 MB / 490.3 MB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01952/0.4798, allocations: 2.876 MB / 493.2 MB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009068/0.489, allocations: 3.753 MB / 496.9 MB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004517/0.4894, allocations: 485.1 kB / 497.4 MB, free: 8.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002251/0.4917, allocations: 0.6249 MB / 498 MB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02265/0.5144, allocations: 9.354 MB / 0.4955 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/0.5146, allocations: 15.89 kB / 0.4955 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007935/0.5154, allocations: 264 kB / 0.4958 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003409/0.5157, allocations: 321.4 kB / 0.4961 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/0.5328, allocations: 7.981 MB / 0.5039 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05529/0.5882, allocations: 28.8 MB / 0.532 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3295/0.9177, allocations: 11.71 MB / 0.5434 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00376/0.9216, allocations: 1.618 MB / 0.545 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.922, allocations: 237.6 kB / 0.5452 GB, free: 112.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.924e-05/0.9221, allocations: 58.12 kB / 0.5453 GB, free: 112.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 5.771e-06/0.9221, allocations: 0 / 0.5453 GB, free: 112.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.007858/0.93, allocations: 4.203 MB / 0.5494 GB, free: 111.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.9301, allocations: 98.92 kB / 0.5495 GB, free: 111 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.9327, allocations: 1.906 MB / 0.5513 GB, free: 110.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.9328, allocations: 65.58 kB / 0.5514 GB, free: 110.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.9343, allocations: 2.644 MB / 0.554 GB, free: 108.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/0.935, allocations: 0.8482 MB / 0.5548 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009092/0.9359, allocations: 0.6719 MB / 0.5555 GB, free: 108 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.936, allocations: 305.1 kB / 0.5558 GB, free: 107.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.9378, allocations: 1.407 MB / 0.5571 GB, free: 107.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.9402, allocations: 2.6 MB / 0.5597 GB, free: 105.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.9443, allocations: 4.25 MB / 0.5638 GB, free: 102.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-05/0.9443, allocations: 11.81 kB / 0.5638 GB, free: 102.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006446/0.9508, allocations: 4.539 MB / 0.5683 GB, free: 100.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.9509, allocations: 24.19 kB / 0.5683 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.22e-05/0.951, allocations: 38.66 kB / 0.5683 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.952, allocations: 310.3 kB / 0.5686 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/0.9553, allocations: 0.7861 MB / 0.5694 GB, free: 99.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/0.9595, allocations: 5.049 MB / 0.5743 GB, free: 94.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.9619, allocations: 420.6 kB / 0.5747 GB, free: 94.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/0.9623, allocations: 167.1 kB / 0.5749 GB, free: 94.15 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.003336/0.9656, allocations: 2.191 MB / 0.577 GB, free: 92.31 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004634/0.9661, allocations: 226.5 kB / 0.5772 GB, free: 92.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/0.9704, allocations: 3.189 MB / 0.5803 GB, free: 88.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.9704, allocations: 27.94 kB / 0.5804 GB, free: 88.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.9704, allocations: 4 kB / 0.5804 GB, free: 88.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.9705, allocations: 15.95 kB / 0.5804 GB, free: 88.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.9845, allocations: 12.68 MB / 0.5928 GB, free: 75.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/0.9846, allocations: 12 kB / 0.5928 GB, free: 75.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.9862, allocations: 439.4 kB / 0.5932 GB, free: 75.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005974/0.9868, allocations: 277.7 kB / 0.5935 GB, free: 74.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.9869, allocations: 67.98 kB / 0.5935 GB, free: 74.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/0.9909, allocations: 4.983 MB / 0.5984 GB, free: 69.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.9909, allocations: 19.94 kB / 0.5984 GB, free: 69.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/0.9967, allocations: 5.026 MB / 0.6033 GB, free: 64.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.9978, allocations: 0.538 MB / 0.6039 GB, free: 63.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/0.9981, allocations: 71.88 kB / 0.6039 GB, free: 63.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.9993, allocations: 121.6 kB / 0.604 GB, free: 63.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/0.9996, allocations: 212.6 kB / 0.6042 GB, free: 63.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.9998, allocations: 91.98 kB / 0.6043 GB, free: 63.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001431/1.001, allocations: 1.291 MB / 0.6056 GB, free: 61.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.001, allocations: 0 / 0.6056 GB, free: 61.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003515/1.005, allocations: 1.456 MB / 0.607 GB, free: 60.49 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.005763/1.011, allocations: 5.693 MB / 0.6126 GB, free: 54.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004899/1.015, allocations: 3.67 MB / 0.6162 GB, free: 50.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.655e-05/1.015, allocations: 4 kB / 0.6162 GB, free: 50.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002011/1.017, allocations: 1.701 MB / 0.6178 GB, free: 49.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/1.02, allocations: 0.5141 MB / 0.6183 GB, free: 48.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03879/1.059, allocations: 29 MB / 0.6466 GB, free: 17.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/1.062, allocations: 4.016 MB / 0.6506 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002573/1.065, allocations: 1.195 MB / 0.6517 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002012/1.067, allocations: 2.007 MB / 0.6537 GB, free: 10.59 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/1.067, allocations: 0 / 0.6537 GB, free: 10.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1333/1.2, allocations: 65.78 MB / 0.7179 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.59, allocations: 3.953 kB / 0.7179 GB, free: 9.082 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches