Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.0013/0.0013, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.001458/0.001458, allocations: 211.8 kB / 23.72 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 47.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2398, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0151/0.2549, allocations: 12 MB / 443.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007694/0.2626, allocations: 3.709 MB / 446.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.2639, allocations: 115.5 kB / 446.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01269/0.2766, allocations: 5.168 MB / 452.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005813/0.2824, allocations: 1.402 MB / 453.5 MB, free: 188 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.2859, allocations: 1.19 MB / 454.7 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009137/0.295, allocations: 6.491 MB / 461.2 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01466/0.3097, allocations: 9.154 MB / 470.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005113/0.3148, allocations: 3.359 MB / 473.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006626/0.3214, allocations: 3.886 MB / 477.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001859/0.3233, allocations: 0.8867 MB / 478.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.3259, allocations: 1.09 MB / 479.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.3275, allocations: 1.765 MB / 481.3 MB, free: 4.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003844/0.3314, allocations: 2.794 MB / 484.1 MB, free: 1.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.3438, allocations: 12.05 MB / 496.2 MB, free: 5.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3438, allocations: 0 / 496.2 MB, free: 5.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3438, allocations: 0 / 496.2 MB, free: 5.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001677/0.344, allocations: 3.938 kB / 496.2 MB, free: 5.297 MB / 398.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.01878/0.3628, allocations: 7.834 MB / 0.4922 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3628, allocations: 12.02 kB / 0.4922 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001845/0.3646, allocations: 1.05 MB / 0.4932 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/0.3841, allocations: 2.877 MB / 0.496 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009436/0.3936, allocations: 3.744 MB / 0.4997 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004353/0.394, allocations: 489.1 kB / 0.5002 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/0.3957, allocations: 0.6249 MB / 0.5008 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01924/0.415, allocations: 9.509 MB / 0.51 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001693/0.4151, allocations: 7.953 kB / 0.5101 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008305/0.416, allocations: 268 kB / 0.5103 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003461/0.4163, allocations: 321.5 kB / 0.5106 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.4314, allocations: 7.95 MB / 0.5184 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2256/0.657, allocations: 25.2 MB / 0.543 GB, free: 84.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007164/0.6642, allocations: 3.91 MB / 0.5468 GB, free: 84.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.666, allocations: 1.446 MB / 0.5482 GB, free: 84.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.6662, allocations: 73.56 kB / 0.5483 GB, free: 84.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.6663, allocations: 63.16 kB / 0.5483 GB, free: 84.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.819e-06/0.6663, allocations: 0 / 0.5483 GB, free: 84.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006694/0.673, allocations: 4.035 MB / 0.5523 GB, free: 83.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.673, allocations: 104.4 kB / 0.5524 GB, free: 83.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.6752, allocations: 1.975 MB / 0.5543 GB, free: 83.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.6753, allocations: 65.05 kB / 0.5544 GB, free: 82.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009759/0.6763, allocations: 2.64 MB / 0.557 GB, free: 81.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/0.6768, allocations: 0.8649 MB / 0.5578 GB, free: 80.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007911/0.6776, allocations: 0.6698 MB / 0.5585 GB, free: 80.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.018e-05/0.6776, allocations: 301.1 kB / 0.5587 GB, free: 80.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.6792, allocations: 1.409 MB / 0.5601 GB, free: 79.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.6813, allocations: 2.598 MB / 0.5627 GB, free: 77.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.6852, allocations: 4.247 MB / 0.5668 GB, free: 74.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.732e-05/0.6852, allocations: 16 kB / 0.5668 GB, free: 74.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005424/0.6906, allocations: 4.539 MB / 0.5713 GB, free: 69.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.6907, allocations: 23.94 kB / 0.5713 GB, free: 69.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/0.6907, allocations: 40 kB / 0.5713 GB, free: 69.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006736/0.6914, allocations: 307.8 kB / 0.5716 GB, free: 69.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.6938, allocations: 0.78 MB / 0.5724 GB, free: 68.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003868/0.6977, allocations: 4.79 MB / 0.577 GB, free: 63.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.6997, allocations: 421.1 kB / 0.5774 GB, free: 63.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/0.7, allocations: 168 kB / 0.5776 GB, free: 63.14 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.00279/0.7027, allocations: 2.188 MB / 0.5797 GB, free: 60.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/0.7031, allocations: 222.5 kB / 0.58 GB, free: 60.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.7072, allocations: 3.166 MB / 0.583 GB, free: 57.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.7072, allocations: 28.44 kB / 0.5831 GB, free: 57.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.7072, allocations: 4 kB / 0.5831 GB, free: 57.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.7073, allocations: 15.95 kB / 0.5831 GB, free: 57.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.7215, allocations: 10.76 MB / 0.5936 GB, free: 46.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.7215, allocations: 16 kB / 0.5936 GB, free: 46.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.7231, allocations: 439.3 kB / 0.594 GB, free: 46.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005839/0.7237, allocations: 272.9 kB / 0.5943 GB, free: 45.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.7238, allocations: 71.98 kB / 0.5944 GB, free: 45.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/0.7276, allocations: 4.713 MB / 0.599 GB, free: 40.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.7276, allocations: 27.81 kB / 0.599 GB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005361/0.733, allocations: 5.014 MB / 0.6039 GB, free: 35.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.734, allocations: 477.8 kB / 0.6044 GB, free: 35.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.7343, allocations: 64.3 kB / 0.6044 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.7356, allocations: 119.9 kB / 0.6045 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.7358, allocations: 225.2 kB / 0.6047 GB, free: 34.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.736, allocations: 96.05 kB / 0.6048 GB, free: 34.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.7373, allocations: 1.291 MB / 0.6061 GB, free: 33.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7373, allocations: 0 / 0.6061 GB, free: 33.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003366/0.7407, allocations: 1.459 MB / 0.6075 GB, free: 31.82 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.00562/0.7463, allocations: 5.682 MB / 0.6131 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004452/0.7508, allocations: 3.492 MB / 0.6165 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/0.7508, allocations: 4.062 kB / 0.6165 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.7527, allocations: 1.599 MB / 0.618 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.7552, allocations: 0.509 MB / 0.6185 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/0.794, allocations: 29.09 MB / 0.6469 GB, free: 5.383 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004705/0.7987, allocations: 3.498 MB / 0.6504 GB, free: 1.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003088/0.8018, allocations: 1.195 MB / 0.6515 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003062/0.8049, allocations: 2.017 MB / 0.6535 GB, free: 14.67 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/0.8049, allocations: 0 / 0.6535 GB, free: 14.67 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1312/0.9361, allocations: 70.31 MB / 0.7222 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.83, allocations: 7.938 kB / 0.7222 GB, free: 8.805 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! Error: Could not read variable resistor2_3.pin_p.reference.gamma in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.508594944985816]