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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 47.94 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.249, allocations: 49.16 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01202/0.261, allocations: 12.55 MB / 408.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009026/0.27, allocations: 3.848 MB / 412.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.2726, allocations: 103.8 kB / 412.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01323/0.2859, allocations: 5.213 MB / 418.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006829/0.2927, allocations: 1.615 MB / 419.7 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.2965, allocations: 1.208 MB / 420.9 MB, free: 8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009945/0.3065, allocations: 6.858 MB / 427.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01541/0.3219, allocations: 9.184 MB / 436.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006274/0.3282, allocations: 3.565 MB / 440.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007874/0.336, allocations: 4.021 MB / 444.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002865/0.3389, allocations: 0.918 MB / 445.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004039/0.3429, allocations: 1.09 MB / 446.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003473/0.3464, allocations: 1.94 MB / 448.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006336/0.3527, allocations: 2.976 MB / 451.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.3689, allocations: 12.48 MB / 463.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3689, allocations: 0 / 463.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3689, allocations: 3.938 kB / 463.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003074/0.3692, allocations: 0 / 463.9 MB, free: 15.26 MB / 382.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.02382/0.393, allocations: 8.37 MB / 472.3 MB, free: 6.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.3931, allocations: 15.98 kB / 472.3 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003436/0.3965, allocations: 1.133 MB / 473.5 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03275/0.4293, allocations: 5.107 MB / 478.6 MB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009788/0.4391, allocations: 3.562 MB / 482.1 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006227/0.4397, allocations: 0.5098 MB / 482.6 MB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/0.4424, allocations: 0.664 MB / 483.3 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02722/0.4696, allocations: 10.65 MB / 493.9 MB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003008/0.4699, allocations: 15.64 kB / 494 MB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00207/0.472, allocations: 288 kB / 494.2 MB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004664/0.4724, allocations: 378.7 kB / 494.6 MB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.495, allocations: 9.591 MB / 0.4924 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05975/0.5548, allocations: 27.71 MB / 0.5194 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01417/0.569, allocations: 5.718 MB / 0.525 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003501/0.5725, allocations: 1.745 MB / 0.5267 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.5839, allocations: 4.718 MB / 0.5313 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.5839, allocations: 52 kB / 0.5314 GB, free: 14.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 4.037e-06/0.584, allocations: 0 / 0.5314 GB, free: 14.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=150): time 0.006935/0.5909, allocations: 3.031 MB / 0.5343 GB, free: 11.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.591, allocations: 98.48 kB / 0.5344 GB, free: 11.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004967/0.596, allocations: 2.743 MB / 0.5371 GB, free: 8.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.5961, allocations: 53.7 kB / 0.5372 GB, free: 8.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002903/0.599, allocations: 3.244 MB / 0.5403 GB, free: 5.238 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000725/0.5998, allocations: 0.5736 MB / 0.5409 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001446/0.6012, allocations: 0.802 MB / 0.5417 GB, free: 3.852 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6014, allocations: 305.1 kB / 0.542 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/0.6039, allocations: 1.472 MB / 0.5434 GB, free: 2.078 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004155/0.6081, allocations: 3.257 MB / 0.5466 GB, free: 13.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006768/0.6149, allocations: 4.824 MB / 0.5513 GB, free: 8.289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-05/0.6149, allocations: 16 kB / 0.5513 GB, free: 8.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009415/0.6243, allocations: 5.087 MB / 0.5563 GB, free: 3.172 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.6244, allocations: 32 kB / 0.5563 GB, free: 3.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/0.6245, allocations: 60 kB / 0.5564 GB, free: 3.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009096/0.6254, allocations: 345.8 kB / 0.5567 GB, free: 2.738 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/0.6286, allocations: 0.8851 MB / 0.5576 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1926/0.8212, allocations: 4.776 MB / 0.5622 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/0.8244, allocations: 0.5582 MB / 0.5628 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004053/0.8248, allocations: 210.4 kB / 0.563 GB, free: 136.2 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.003809/0.8286, allocations: 2.329 MB / 0.5653 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004053/0.829, allocations: 236 kB / 0.5655 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/0.8327, allocations: 2.314 MB / 0.5677 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.8327, allocations: 16.5 kB / 0.5678 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.8328, allocations: 6.094 kB / 0.5678 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.8328, allocations: 12.27 kB / 0.5678 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008142/0.8409, allocations: 5.107 MB / 0.5728 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.8409, allocations: 2.656 kB / 0.5728 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.8421, allocations: 257.4 kB / 0.573 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006041/0.8427, allocations: 265.2 kB / 0.5733 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-05/0.8428, allocations: 32.94 kB / 0.5733 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004023/0.8468, allocations: 4.697 MB / 0.5779 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8468, allocations: 1.969 kB / 0.5779 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/0.8511, allocations: 3.302 MB / 0.5811 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.8522, allocations: 408.8 kB / 0.5815 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.8525, allocations: 31.44 kB / 0.5815 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.8536, allocations: 93.14 kB / 0.5816 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.8538, allocations: 110.7 kB / 0.5817 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/0.8539, allocations: 45.69 kB / 0.5818 GB, free: 127.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002269/0.8562, allocations: 1.715 MB / 0.5834 GB, free: 126.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8562, allocations: 3.375 kB / 0.5834 GB, free: 126.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003928/0.8601, allocations: 1.558 MB / 0.585 GB, free: 126.1 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.004178/0.8643, allocations: 3.914 MB / 0.5888 GB, free: 124 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004677/0.8689, allocations: 3.35 MB / 0.5921 GB, free: 122.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.869, allocations: 0 / 0.5921 GB, free: 122.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.8705, allocations: 1.183 MB / 0.5932 GB, free: 122.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.8731, allocations: 490.8 kB / 0.5937 GB, free: 122 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/0.91, allocations: 31.13 MB / 0.6241 GB, free: 92.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00311/0.9131, allocations: 3.685 MB / 0.6277 GB, free: 89.19 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002772/0.9159, allocations: 1.287 MB / 0.6289 GB, free: 87.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/0.9179, allocations: 2.12 MB / 0.631 GB, free: 85.77 MB / 478.1 MB Notification: Performance of SimCode: time 1.422e-06/0.9179, allocations: 0 / 0.631 GB, free: 85.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/1.027, allocations: 70.37 MB / 0.6997 GB, free: 15.21 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.24, allocations: 8 kB / 0.6997 GB, free: 15.21 MB / 478.1 MB " [Timeout remaining time 645] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable resistor1_3.pin_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv failed! Error: Could not read variable resistor2_3.pin_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.76671414403245]