Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002014/0.002014, allocations: 194 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 226.5 MB / 244.7 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008011/0.000801, allocations: 97.36 kB / 296.7 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002181/0.0002182, allocations: 4 kB / 356.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1996, allocations: 51.29 MB / 408.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.008112/0.2078, allocations: 12.06 MB / 420.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005547/0.2133, allocations: 3.513 MB / 423.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.2153, allocations: 91.75 kB / 423.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.2172, allocations: 0.559 MB / 424.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.2208, allocations: 1.15 MB / 425.5 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.2232, allocations: 0.9695 MB / 426.5 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008687/0.2319, allocations: 9.098 MB / 435.6 MB, free: 168 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02178/0.2537, allocations: 13.83 MB / 449.4 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.2569, allocations: 2.332 MB / 451.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00376/0.2607, allocations: 2.79 MB / 454.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008409/0.2616, allocations: 384 kB / 454.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.2633, allocations: 0.5584 MB / 455.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009172/0.2642, allocations: 1.094 MB / 456.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003121/0.2673, allocations: 2.735 MB / 459.3 MB, free: 8.293 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008692/0.276, allocations: 9.992 MB / 469.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2761, allocations: 3.984 kB / 469.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2761, allocations: 0 / 469.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000252/0.2763, allocations: 0 / 469.3 MB, free: 14.27 MB / 346.7 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.0157/0.292, allocations: 6.515 MB / 475.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2921, allocations: 8.031 kB / 475.8 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002453/0.2945, allocations: 1.046 MB / 476.8 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01755/0.3121, allocations: 2.94 MB / 479.8 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006902/0.319, allocations: 3.631 MB / 483.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004323/0.3195, allocations: 481 kB / 483.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/0.3213, allocations: 0.621 MB / 484.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.3411, allocations: 9.287 MB / 493.8 MB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002209/0.3414, allocations: 11.91 kB / 493.8 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001339/0.3427, allocations: 264 kB / 494.1 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003184/0.3431, allocations: 325.4 kB / 494.4 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.3574, allocations: 7.919 MB / 0.4905 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1966/0.554, allocations: 29.17 MB / 0.519 GB, free: 71.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007957/0.562, allocations: 11.67 MB / 0.5304 GB, free: 60.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002075/0.5641, allocations: 1.61 MB / 0.532 GB, free: 59.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/0.5643, allocations: 213.9 kB / 0.5322 GB, free: 59.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.5644, allocations: 63.47 kB / 0.5323 GB, free: 59.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=238): time 4.018e-06/0.5644, allocations: 0 / 0.5323 GB, free: 59.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=238): time 0.006662/0.5711, allocations: 4.164 MB / 0.5363 GB, free: 57.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5712, allocations: 106.1 kB / 0.5364 GB, free: 57.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.5735, allocations: 1.89 MB / 0.5383 GB, free: 56.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.5737, allocations: 65.33 kB / 0.5383 GB, free: 55.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.5747, allocations: 2.548 MB / 0.5408 GB, free: 53.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005302/0.5753, allocations: 0.8111 MB / 0.5416 GB, free: 53.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.5754, allocations: 70.03 kB / 0.5417 GB, free: 53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5756, allocations: 447.9 kB / 0.5421 GB, free: 52.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.5773, allocations: 1.385 MB / 0.5435 GB, free: 51.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.5793, allocations: 2.593 MB / 0.546 GB, free: 49.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/0.583, allocations: 4.203 MB / 0.5501 GB, free: 44.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/0.583, allocations: 15.94 kB / 0.5501 GB, free: 44.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005367/0.5884, allocations: 4.487 MB / 0.5545 GB, free: 40.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.5884, allocations: 27.98 kB / 0.5545 GB, free: 40.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-05/0.5885, allocations: 38.03 kB / 0.5546 GB, free: 40.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006889/0.5892, allocations: 308.6 kB / 0.5548 GB, free: 39.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.5915, allocations: 0.78 MB / 0.5556 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/0.5952, allocations: 4.618 MB / 0.5601 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.5974, allocations: 412 kB / 0.5605 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.5977, allocations: 160 kB / 0.5607 GB, free: 33.5 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002795/0.6005, allocations: 2.194 MB / 0.5628 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.6008, allocations: 213.4 kB / 0.563 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.605, allocations: 3.17 MB / 0.5661 GB, free: 27.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.605, allocations: 24 kB / 0.5661 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.605, allocations: 4 kB / 0.5661 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.6051, allocations: 13.7 kB / 0.5661 GB, free: 27.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.6188, allocations: 12.66 MB / 0.5785 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.6189, allocations: 12.94 kB / 0.5785 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/0.6204, allocations: 437.7 kB / 0.5789 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005923/0.621, allocations: 280.1 kB / 0.5792 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.6211, allocations: 71.98 kB / 0.5793 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/0.6246, allocations: 4.552 MB / 0.5837 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.6247, allocations: 23.88 kB / 0.5837 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/0.6297, allocations: 4.976 MB / 0.5886 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000797/0.6305, allocations: 0.5406 MB / 0.5891 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.6307, allocations: 63.98 kB / 0.5892 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.6319, allocations: 124 kB / 0.5893 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/0.6322, allocations: 201.3 kB / 0.5895 GB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.6323, allocations: 83.98 kB / 0.5896 GB, free: 2.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001403/0.6338, allocations: 1.279 MB / 0.5908 GB, free: 1.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6338, allocations: 0 / 0.5908 GB, free: 1.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003085/0.6369, allocations: 1.448 MB / 0.5922 GB, free: 4 kB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006647/0.6435, allocations: 5.632 MB / 0.5977 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005102/0.6486, allocations: 3.596 MB / 0.6012 GB, free: 6.543 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/0.6487, allocations: 8.062 kB / 0.6013 GB, free: 6.535 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002175/0.6508, allocations: 1.688 MB / 0.6029 GB, free: 4.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005098/0.656, allocations: 497.8 kB / 0.6034 GB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03555/0.6915, allocations: 23.89 MB / 0.6267 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004821/0.6964, allocations: 3.905 MB / 0.6305 GB, free: 6.969 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002655/0.6991, allocations: 2.014 MB / 0.6325 GB, free: 4.953 MB / 426.7 MB Notification: Performance of SimCode: time 2.254e-06/0.6991, allocations: 0 / 0.6325 GB, free: 4.953 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.637/6.336, allocations: 144.7 MB / 0.7738 GB, free: 59.88 MB / 458.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches