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.001114/0.001114, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.83 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.278, allocations: 50.54 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01446/0.2924, allocations: 13.95 MB / 422.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009346/0.3018, allocations: 3.828 MB / 426.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003456/0.3053, allocations: 103.7 kB / 426.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01299/0.3184, allocations: 5.556 MB / 432.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006334/0.3247, allocations: 1.347 MB / 433.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.3284, allocations: 1.211 MB / 434.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008909/0.3374, allocations: 6.378 MB / 441.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01879/0.3562, allocations: 13.68 MB / 454.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/0.3612, allocations: 3.285 MB / 458.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005828/0.367, allocations: 3.85 MB / 461.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002265/0.3693, allocations: 0.8906 MB / 462.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.3728, allocations: 1.09 MB / 463.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002166/0.375, allocations: 1.769 MB / 465.7 MB, free: 8.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005616/0.3806, allocations: 3.564 MB / 469.3 MB, free: 4.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.3935, allocations: 11.96 MB / 481.2 MB, free: 8.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.3936, allocations: 4 kB / 481.2 MB, free: 8.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3936, allocations: 0 / 481.2 MB, free: 8.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003474/0.3939, allocations: 0 / 481.2 MB, free: 8.73 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.02497/0.4189, allocations: 7.773 MB / 489 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.453e-05/0.419, allocations: 16.03 kB / 489 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004727/0.4237, allocations: 1.054 MB / 490.1 MB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02063/0.4444, allocations: 2.916 MB / 493 MB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009647/0.4541, allocations: 3.737 MB / 496.7 MB, free: 9.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/0.4546, allocations: 489.1 kB / 497.2 MB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002479/0.4571, allocations: 0.6249 MB / 497.8 MB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02569/0.4828, allocations: 9.335 MB / 0.4953 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006133/0.4835, allocations: 7.906 kB / 0.4953 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003708/0.4873, allocations: 264 kB / 0.4955 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004332/0.4877, allocations: 317.5 kB / 0.4958 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/0.5062, allocations: 7.97 MB / 0.5036 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05307/0.5593, allocations: 28.71 MB / 0.5316 GB, free: 8.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2311/0.7904, allocations: 11.7 MB / 0.5431 GB, free: 112.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/0.7942, allocations: 1.612 MB / 0.5446 GB, free: 112.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.7945, allocations: 217 kB / 0.5449 GB, free: 112.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.7946, allocations: 58.58 kB / 0.5449 GB, free: 112.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.319e-06/0.7946, allocations: 0 / 0.5449 GB, free: 112.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.00722/0.8018, allocations: 4.168 MB / 0.549 GB, free: 111.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.8019, allocations: 102.9 kB / 0.5491 GB, free: 111.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.8042, allocations: 1.904 MB / 0.5509 GB, free: 110.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.8044, allocations: 61.64 kB / 0.551 GB, free: 110.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.8055, allocations: 2.551 MB / 0.5535 GB, free: 108.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000591/0.8061, allocations: 0.807 MB / 0.5543 GB, free: 108.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008021/0.8069, allocations: 0.6655 MB / 0.5549 GB, free: 107.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.807, allocations: 310.1 kB / 0.5552 GB, free: 107.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.8086, allocations: 1.401 MB / 0.5566 GB, free: 107 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/0.8107, allocations: 2.588 MB / 0.5591 GB, free: 105 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003643/0.8143, allocations: 4.235 MB / 0.5633 GB, free: 102.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.8143, allocations: 11.44 kB / 0.5633 GB, free: 102.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005351/0.8197, allocations: 4.519 MB / 0.5677 GB, free: 100.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.8198, allocations: 23.09 kB / 0.5677 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/0.8198, allocations: 39.89 kB / 0.5677 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007041/0.8205, allocations: 310.7 kB / 0.568 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.8228, allocations: 0.7825 MB / 0.5688 GB, free: 99.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.8267, allocations: 5.056 MB / 0.5737 GB, free: 94.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.8287, allocations: 406.9 kB / 0.5741 GB, free: 94.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.8289, allocations: 159.9 kB / 0.5743 GB, free: 94.16 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.002679/0.8316, allocations: 2.198 MB / 0.5764 GB, free: 92.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.8319, allocations: 205.5 kB / 0.5766 GB, free: 92.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.8361, allocations: 3.19 MB / 0.5797 GB, free: 89.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.8361, allocations: 24 kB / 0.5798 GB, free: 89.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.8361, allocations: 7.984 kB / 0.5798 GB, free: 89.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.8361, allocations: 11.95 kB / 0.5798 GB, free: 89.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.8504, allocations: 12.65 MB / 0.5921 GB, free: 75.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.8505, allocations: 16 kB / 0.5921 GB, free: 75.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.852, allocations: 435.3 kB / 0.5926 GB, free: 75.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005852/0.8526, allocations: 271 kB / 0.5928 GB, free: 75.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.8527, allocations: 67.98 kB / 0.5929 GB, free: 75.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003745/0.8565, allocations: 4.974 MB / 0.5977 GB, free: 69.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/0.8565, allocations: 23.88 kB / 0.5978 GB, free: 69.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005297/0.8618, allocations: 4.997 MB / 0.6026 GB, free: 64.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.8629, allocations: 0.529 MB / 0.6032 GB, free: 63.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.8631, allocations: 56 kB / 0.6032 GB, free: 63.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.8643, allocations: 128 kB / 0.6033 GB, free: 63.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.8646, allocations: 205.2 kB / 0.6035 GB, free: 63.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.8647, allocations: 95.05 kB / 0.6036 GB, free: 63.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.8661, allocations: 1.291 MB / 0.6049 GB, free: 62.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8661, allocations: 0 / 0.6049 GB, free: 62.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003166/0.8693, allocations: 1.438 MB / 0.6063 GB, free: 60.77 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.005458/0.8748, allocations: 5.663 MB / 0.6118 GB, free: 54.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004424/0.8792, allocations: 3.664 MB / 0.6154 GB, free: 51.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.8792, allocations: 4 kB / 0.6154 GB, free: 51.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.8811, allocations: 1.685 MB / 0.617 GB, free: 49.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.8837, allocations: 0.5131 MB / 0.6175 GB, free: 49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03582/0.9195, allocations: 28.84 MB / 0.6457 GB, free: 18.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003403/0.923, allocations: 4.02 MB / 0.6496 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00269/0.9257, allocations: 1.195 MB / 0.6508 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/0.9278, allocations: 1.996 MB / 0.6528 GB, free: 11.11 MB / 462.1 MB Notification: Performance of SimCode: time 1.422e-06/0.9278, allocations: 0 / 0.6528 GB, free: 11.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1559/1.084, allocations: 66.33 MB / 0.7175 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.93, allocations: 22.06 kB / 0.7175 GB, free: 9.043 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.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