Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 104.1 kB / 17.58 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 191.9 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 52.14 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08348/0.08494, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01767/0.1027, allocations: 14.62 MB / 342 MB, free: 5.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008104/0.1108, allocations: 3.914 MB / 345.9 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.1126, allocations: 91.75 kB / 346 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01209/0.1247, allocations: 5.605 MB / 351.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005135/0.1298, allocations: 1.741 MB / 353.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.1325, allocations: 1.095 MB / 354.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007009/0.1395, allocations: 6.702 MB / 361.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01722/0.1567, allocations: 13.8 MB / 374.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/0.161, allocations: 3.487 MB / 378.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1507/0.3117, allocations: 4.124 MB / 382.6 MB, free: 24.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.3134, allocations: 0.9161 MB / 383.5 MB, free: 24.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.3157, allocations: 1.103 MB / 384.6 MB, free: 24.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.3171, allocations: 1.932 MB / 386.5 MB, free: 24.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004192/0.3213, allocations: 3.798 MB / 390.3 MB, free: 23.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008739/0.33, allocations: 12.3 MB / 402.6 MB, free: 17.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.33, allocations: 5.562 kB / 402.6 MB, free: 17.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3301, allocations: 0 / 402.6 MB, free: 17.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000225/0.3303, allocations: 0 / 402.6 MB, free: 17.71 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01585/0.3461, allocations: 8.297 MB / 410.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3462, allocations: 7 kB / 410.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001397/0.3476, allocations: 1.14 MB / 412 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02773/0.3753, allocations: 5.075 MB / 417.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/0.3806, allocations: 3.552 MB / 420.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.3808, allocations: 0.5077 MB / 421.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000978/0.3818, allocations: 0.6669 MB / 421.9 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.3961, allocations: 10.49 MB / 432.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.3963, allocations: 15.98 kB / 432.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006883/0.397, allocations: 286.7 kB / 432.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003235/0.3973, allocations: 382.3 kB / 433 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/0.4123, allocations: 9.641 MB / 442.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0473/0.4597, allocations: 31.88 MB / 474.5 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/0.4764, allocations: 22.92 MB / 497.5 MB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00248/0.4789, allocations: 1.954 MB / 499.4 MB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009354/0.4883, allocations: 6.233 MB / 0.4938 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4884, allocations: 55.75 kB / 0.4938 GB, free: 13.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.326e-06/0.4884, allocations: 0 / 0.4938 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.006096/0.4945, allocations: 3.173 MB / 0.4969 GB, free: 10.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.4945, allocations: 90.55 kB / 0.497 GB, free: 10.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003884/0.4984, allocations: 2.615 MB / 0.4996 GB, free: 7.973 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.4985, allocations: 53.7 kB / 0.4996 GB, free: 7.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001822/0.5004, allocations: 3.127 MB / 0.5027 GB, free: 4.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/0.5008, allocations: 0.5543 MB / 0.5032 GB, free: 4.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.5019, allocations: 0.7975 MB / 0.504 GB, free: 3.418 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.5021, allocations: 305.1 kB / 0.5043 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.5041, allocations: 1.468 MB / 0.5057 GB, free: 1.648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003103/0.5072, allocations: 3.263 MB / 0.5089 GB, free: 13.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004934/0.5122, allocations: 4.823 MB / 0.5136 GB, free: 8.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.245e-05/0.5122, allocations: 20 kB / 0.5136 GB, free: 8.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007157/0.5194, allocations: 5.084 MB / 0.5186 GB, free: 3.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.5194, allocations: 28 kB / 0.5186 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-05/0.5195, allocations: 64 kB / 0.5187 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007514/0.5203, allocations: 343.8 kB / 0.519 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/0.5229, allocations: 0.8807 MB / 0.5199 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/0.5278, allocations: 5.059 MB / 0.5248 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.5304, allocations: 0.5456 MB / 0.5254 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/0.5307, allocations: 211.6 kB / 0.5256 GB, free: 12.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.003114/0.5338, allocations: 2.327 MB / 0.5278 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/0.5342, allocations: 221.2 kB / 0.528 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.5377, allocations: 2.325 MB / 0.5303 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.5378, allocations: 16 kB / 0.5303 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.5378, allocations: 7.938 kB / 0.5303 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.5378, allocations: 7.969 kB / 0.5303 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008119/0.5459, allocations: 5.356 MB / 0.5356 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.5459, allocations: 3.938 kB / 0.5356 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.547, allocations: 254.5 kB / 0.5358 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005939/0.5476, allocations: 264.9 kB / 0.5361 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.5478, allocations: 32 kB / 0.5361 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1848/0.7325, allocations: 4.933 MB / 0.5409 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7326, allocations: 5.562 kB / 0.5409 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/0.7374, allocations: 3.311 MB / 0.5442 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007899/0.7382, allocations: 467 kB / 0.5446 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.7385, allocations: 31.41 kB / 0.5446 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.7396, allocations: 102.8 kB / 0.5447 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.7398, allocations: 99.36 kB / 0.5448 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.914e-05/0.7399, allocations: 47.12 kB / 0.5449 GB, free: 153 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002212/0.7422, allocations: 1.715 MB / 0.5465 GB, free: 152.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7422, allocations: 1.594 kB / 0.5466 GB, free: 152.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003889/0.7461, allocations: 1.52 MB / 0.548 GB, free: 151.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004501/0.7506, allocations: 3.936 MB / 0.5519 GB, free: 149.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005417/0.756, allocations: 3.816 MB / 0.5556 GB, free: 148.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.756, allocations: 3.875 kB / 0.5556 GB, free: 148.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.7575, allocations: 1.262 MB / 0.5568 GB, free: 147.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.7597, allocations: 497.6 kB / 0.5573 GB, free: 147.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03665/0.7964, allocations: 32.98 MB / 0.5895 GB, free: 120.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003314/0.7998, allocations: 4.187 MB / 0.5936 GB, free: 117.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00304/0.8028, allocations: 1.281 MB / 0.5949 GB, free: 116.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/0.8047, allocations: 2.121 MB / 0.5969 GB, free: 114.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.8047, allocations: 0 / 0.5969 GB, free: 114.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1849/0.9895, allocations: 66.66 MB / 0.662 GB, free: 48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.93, allocations: 7.797 kB / 0.662 GB, free: 47.99 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches