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.001618/0.001618, allocations: 109.5 kB / 17.73 MB, free: 5.363 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.001967/0.001967, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.616/1.616, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001789/0.001789, allocations: 55.91 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.117, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.2257/0.3427, allocations: 14.61 MB / 389.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009457/0.3522, allocations: 3.931 MB / 393.2 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004044/0.3563, allocations: 92.09 kB / 393.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01268/0.369, allocations: 5.602 MB / 398.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009369/0.3784, allocations: 1.742 MB / 400.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004326/0.3828, allocations: 1.089 MB / 401.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01282/0.3956, allocations: 6.749 MB / 408.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02447/0.4201, allocations: 13.75 MB / 422.2 MB, free: 368 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008053/0.4282, allocations: 3.495 MB / 425.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007753/0.436, allocations: 4.123 MB / 429.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00307/0.4391, allocations: 0.918 MB / 430.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/0.4436, allocations: 1.101 MB / 431.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003489/0.4471, allocations: 1.925 MB / 433.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008266/0.4554, allocations: 3.793 MB / 437.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01988/0.4753, allocations: 12.39 MB / 450 MB, free: 4.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.4754, allocations: 0 / 450 MB, free: 4.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4754, allocations: 0 / 450 MB, free: 4.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005084/0.4759, allocations: 0 / 450 MB, free: 4.539 MB / 366.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.02694/0.5029, allocations: 8.298 MB / 458.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.503, allocations: 8.031 kB / 458.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004808/0.5078, allocations: 1.137 MB / 459.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0323/0.5401, allocations: 5.068 MB / 464.5 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.5505, allocations: 3.555 MB / 468 MB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006383/0.5511, allocations: 0.5137 MB / 468.5 MB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00303/0.5542, allocations: 0.6678 MB / 469.2 MB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02897/0.5832, allocations: 10.5 MB / 479.7 MB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003983/0.5836, allocations: 7.906 kB / 479.7 MB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002667/0.5863, allocations: 291.8 kB / 480 MB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000503/0.5868, allocations: 382.7 kB / 480.4 MB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/0.611, allocations: 9.649 MB / 490 MB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06501/0.6761, allocations: 31.52 MB / 0.5093 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02302/0.6991, allocations: 22.92 MB / 0.5317 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/0.7025, allocations: 1.945 MB / 0.5336 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/0.7145, allocations: 6.227 MB / 0.5397 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.771e-05/0.7146, allocations: 55.98 kB / 0.5397 GB, free: 8.598 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 5.36e-06/0.7146, allocations: 0 / 0.5397 GB, free: 8.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.006768/0.7214, allocations: 3.177 MB / 0.5428 GB, free: 5.367 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.7215, allocations: 98.55 kB / 0.5429 GB, free: 5.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00489/0.7264, allocations: 2.612 MB / 0.5455 GB, free: 2.605 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.7265, allocations: 49.7 kB / 0.5455 GB, free: 2.551 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2165/0.9431, allocations: 3.122 MB / 0.5486 GB, free: 145.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.9442, allocations: 0.5441 MB / 0.5491 GB, free: 145.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/0.9458, allocations: 0.8029 MB / 0.5499 GB, free: 145.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.9459, allocations: 301.9 kB / 0.5502 GB, free: 145.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/0.9491, allocations: 1.466 MB / 0.5516 GB, free: 145.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00392/0.9531, allocations: 3.265 MB / 0.5548 GB, free: 142.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006168/0.9593, allocations: 4.817 MB / 0.5595 GB, free: 138.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-05/0.9593, allocations: 23.22 kB / 0.5595 GB, free: 138.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008884/0.9682, allocations: 5.083 MB / 0.5645 GB, free: 136.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.9683, allocations: 31.62 kB / 0.5645 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.435e-05/0.9684, allocations: 61.34 kB / 0.5646 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000965/0.9694, allocations: 343.5 kB / 0.5649 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/0.9725, allocations: 0.8866 MB / 0.5658 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004986/0.9775, allocations: 5.048 MB / 0.5707 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/0.9808, allocations: 0.5424 MB / 0.5712 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004364/0.9812, allocations: 212 kB / 0.5714 GB, free: 132.3 MB / 478.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.004208/0.9854, allocations: 2.325 MB / 0.5737 GB, free: 131.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005361/0.986, allocations: 220.2 kB / 0.5739 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.9899, allocations: 2.328 MB / 0.5762 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.9899, allocations: 25 kB / 0.5762 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.9899, allocations: 3.906 kB / 0.5762 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.9899, allocations: 7.797 kB / 0.5762 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008777/0.9987, allocations: 5.349 MB / 0.5814 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.9988, allocations: 0 / 0.5814 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1, allocations: 260.3 kB / 0.5817 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006899/1.001, allocations: 262 kB / 0.5819 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/1.001, allocations: 38.31 kB / 0.582 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003991/1.005, allocations: 4.939 MB / 0.5868 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.005, allocations: 0 / 0.5868 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/1.009, allocations: 3.3 MB / 0.59 GB, free: 122.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000968/1.01, allocations: 466.8 kB / 0.5905 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/1.01, allocations: 31.72 kB / 0.5905 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.011, allocations: 96.39 kB / 0.5906 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/1.012, allocations: 109.8 kB / 0.5907 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/1.012, allocations: 39.03 kB / 0.5907 GB, free: 122.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002122/1.014, allocations: 1.72 MB / 0.5924 GB, free: 121.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.014, allocations: 0 / 0.5924 GB, free: 121.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004175/1.018, allocations: 1.535 MB / 0.5939 GB, free: 120.9 MB / 478.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.004108/1.022, allocations: 3.925 MB / 0.5977 GB, free: 118.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00531/1.027, allocations: 3.528 MB / 0.6012 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.027, allocations: 0 / 0.6012 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/1.029, allocations: 1.262 MB / 0.6024 GB, free: 114 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.031, allocations: 0.4906 MB / 0.6029 GB, free: 113.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04733/1.079, allocations: 30.88 MB / 0.6331 GB, free: 81.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005912/1.085, allocations: 4.183 MB / 0.6371 GB, free: 77.13 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003298/1.088, allocations: 1.287 MB / 0.6384 GB, free: 75.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002796/1.091, allocations: 2.12 MB / 0.6405 GB, free: 73.72 MB / 478.1 MB Notification: Performance of SimCode: time 1.282e-06/1.091, allocations: 0 / 0.6405 GB, free: 73.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/1.207, allocations: 68.57 MB / 0.7074 GB, free: 5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.98, allocations: 0 / 0.7074 GB, free: 5 MB / 478.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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