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.001081/0.001081, allocations: 107.3 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.92 kB / 306.4 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09837/0.09961, allocations: 50.53 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01339/0.113, allocations: 13.72 MB / 370.6 MB, free: 396 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1783/0.2913, allocations: 3.836 MB / 374.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/0.2937, allocations: 97.38 kB / 374.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01005/0.3038, allocations: 5.281 MB / 379.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.3091, allocations: 1.206 MB / 381 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.3124, allocations: 1.138 MB / 382.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008507/0.321, allocations: 6.18 MB / 388.3 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01888/0.3399, allocations: 11.49 MB / 399.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005282/0.3452, allocations: 2.977 MB / 402.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006036/0.3512, allocations: 3.759 MB / 406.6 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002196/0.3535, allocations: 0.6836 MB / 407.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.3577, allocations: 0.8795 MB / 408.1 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002166/0.3599, allocations: 1.564 MB / 409.7 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00532/0.3652, allocations: 3.349 MB / 413 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.3765, allocations: 11.74 MB / 424.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3765, allocations: 0 / 424.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3765, allocations: 0 / 424.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003097/0.3769, allocations: 0 / 424.8 MB, free: 7.043 MB / 334.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.02173/0.3986, allocations: 7.816 MB / 432.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.3987, allocations: 12.03 kB / 432.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003029/0.4017, allocations: 1.045 MB / 433.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01914/0.4209, allocations: 2.916 MB / 436.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006964/0.4279, allocations: 3.618 MB / 440.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.4283, allocations: 481.4 kB / 440.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.4301, allocations: 0.6212 MB / 441.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.4496, allocations: 9.346 MB / 450.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/0.4498, allocations: 7.844 kB / 450.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/0.4511, allocations: 270 kB / 450.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003002/0.4514, allocations: 329.4 kB / 451.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/0.4674, allocations: 7.958 MB / 459.2 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04366/0.5111, allocations: 29.08 MB / 488.3 MB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.522, allocations: 11.71 MB / 500 MB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/0.5244, allocations: 1.616 MB / 0.4898 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.5248, allocations: 214.6 kB / 0.49 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.5248, allocations: 64.56 kB / 0.4901 GB, free: 7.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 3.817e-06/0.5248, allocations: 0 / 0.4901 GB, free: 7.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007756/0.5326, allocations: 4.165 MB / 0.4942 GB, free: 3.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.5327, allocations: 99.11 kB / 0.4943 GB, free: 3.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/0.536, allocations: 1.899 MB / 0.4961 GB, free: 1.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.5361, allocations: 69.7 kB / 0.4962 GB, free: 1.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.5376, allocations: 2.546 MB / 0.4987 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006378/0.5383, allocations: 0.8158 MB / 0.4995 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009977/0.5393, allocations: 0.6598 MB / 0.5001 GB, free: 13.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.5394, allocations: 305.1 kB / 0.5004 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.5415, allocations: 1.408 MB / 0.5018 GB, free: 11.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.5442, allocations: 2.595 MB / 0.5043 GB, free: 8.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004828/0.549, allocations: 4.23 MB / 0.5084 GB, free: 3.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.832e-05/0.5491, allocations: 12 kB / 0.5084 GB, free: 3.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006647/0.5557, allocations: 4.514 MB / 0.5129 GB, free: 14.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.5558, allocations: 20 kB / 0.5129 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.931e-05/0.5558, allocations: 36 kB / 0.5129 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007523/0.5566, allocations: 321.1 kB / 0.5132 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/0.5591, allocations: 0.7761 MB / 0.514 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.5639, allocations: 4.616 MB / 0.5185 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.5658, allocations: 408 kB / 0.5189 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.5661, allocations: 172 kB / 0.519 GB, free: 8.328 MB / 446.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.003143/0.5692, allocations: 2.191 MB / 0.5212 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/0.5696, allocations: 217.3 kB / 0.5214 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005024/0.5746, allocations: 3.189 MB / 0.5245 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.5747, allocations: 24 kB / 0.5245 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.5747, allocations: 4 kB / 0.5245 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.5747, allocations: 11.95 kB / 0.5245 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1652/0.7399, allocations: 12.68 MB / 0.5369 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/0.74, allocations: 14.8 kB / 0.5369 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.7416, allocations: 439.1 kB / 0.5373 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006853/0.7423, allocations: 280 kB / 0.5376 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.7425, allocations: 65.97 kB / 0.5377 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/0.7467, allocations: 4.55 MB / 0.5421 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.707e-05/0.7468, allocations: 19.81 kB / 0.5421 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00651/0.7533, allocations: 4.99 MB / 0.547 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00084/0.7541, allocations: 0.5384 MB / 0.5475 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/0.7544, allocations: 62.86 kB / 0.5476 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7555, allocations: 124.7 kB / 0.5477 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003498/0.7559, allocations: 206.2 kB / 0.5479 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.7561, allocations: 87.03 kB / 0.548 GB, free: 124.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001896/0.758, allocations: 1.287 MB / 0.5493 GB, free: 124.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.758, allocations: 3.562 kB / 0.5493 GB, free: 124.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003451/0.7614, allocations: 1.445 MB / 0.5507 GB, free: 123.9 MB / 446.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.005512/0.767, allocations: 5.664 MB / 0.5562 GB, free: 120.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004367/0.7713, allocations: 3.629 MB / 0.5597 GB, free: 119.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.7714, allocations: 3.969 kB / 0.5597 GB, free: 119.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.7732, allocations: 1.674 MB / 0.5614 GB, free: 118.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.7755, allocations: 497.2 kB / 0.5619 GB, free: 118.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03415/0.8096, allocations: 33.12 MB / 0.5942 GB, free: 88.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/0.8127, allocations: 4.012 MB / 0.5981 GB, free: 84.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002879/0.8156, allocations: 1.195 MB / 0.5993 GB, free: 83.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/0.8174, allocations: 1.991 MB / 0.6012 GB, free: 81.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.432e-06/0.8174, allocations: 0 / 0.6012 GB, free: 81.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07663/0.8941, allocations: 63.21 MB / 0.663 GB, free: 18.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/0.8943, allocations: 248.2 kB / 0.6632 GB, free: 18.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.742, allocations: 0 / 0.6632 GB, free: 18.1 MB / 446.1 MB (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