Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001867/0.001867, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002334/0.002334, allocations: 206.1 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.89 kB / 377.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2423, allocations: 53.41 MB / 431.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0151/0.2574, allocations: 11.99 MB / 443.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007562/0.2649, allocations: 3.716 MB / 446.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.2667, allocations: 111.5 kB / 447 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01255/0.2793, allocations: 5.162 MB / 452.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005406/0.2847, allocations: 1.39 MB / 453.5 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.2881, allocations: 1.189 MB / 454.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008513/0.2966, allocations: 6.479 MB / 461.2 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01382/0.3105, allocations: 9.075 MB / 470.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004556/0.315, allocations: 3.363 MB / 473.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006308/0.3213, allocations: 3.729 MB / 477.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00233/0.3236, allocations: 0.8867 MB / 478.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.3269, allocations: 1.074 MB / 479.3 MB, free: 6.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002305/0.3292, allocations: 1.773 MB / 481.1 MB, free: 4.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00492/0.3341, allocations: 2.798 MB / 483.9 MB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.3484, allocations: 12.05 MB / 495.9 MB, free: 5.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3484, allocations: 0 / 495.9 MB, free: 5.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3484, allocations: 0 / 495.9 MB, free: 5.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002436/0.3486, allocations: 4 kB / 495.9 MB, free: 5.457 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.02038/0.369, allocations: 7.834 MB / 0.492 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.369, allocations: 11.98 kB / 0.492 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002464/0.3715, allocations: 1.046 MB / 0.493 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01948/0.391, allocations: 2.888 MB / 0.4958 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008243/0.3992, allocations: 3.744 MB / 0.4995 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004592/0.3997, allocations: 485 kB / 0.4999 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001595/0.4013, allocations: 0.6249 MB / 0.5006 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02058/0.4219, allocations: 9.513 MB / 0.5098 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001935/0.4221, allocations: 15.95 kB / 0.5099 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/0.4232, allocations: 264 kB / 0.5101 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003524/0.4235, allocations: 313.5 kB / 0.5104 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.4388, allocations: 7.958 MB / 0.5182 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2337/0.6725, allocations: 25.2 MB / 0.5428 GB, free: 84.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006924/0.6794, allocations: 3.904 MB / 0.5466 GB, free: 84.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.6812, allocations: 1.455 MB / 0.548 GB, free: 84.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.6814, allocations: 66.33 kB / 0.5481 GB, free: 84.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.6814, allocations: 66.19 kB / 0.5482 GB, free: 84.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.839e-06/0.6814, allocations: 0 / 0.5482 GB, free: 84.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.00639/0.6878, allocations: 4.035 MB / 0.5521 GB, free: 83.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.6878, allocations: 105.4 kB / 0.5522 GB, free: 83.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.6898, allocations: 1.977 MB / 0.5541 GB, free: 82.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.69, allocations: 61.11 kB / 0.5542 GB, free: 82.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008921/0.6909, allocations: 2.645 MB / 0.5568 GB, free: 81.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/0.6912, allocations: 0.86 MB / 0.5576 GB, free: 80.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000699/0.6919, allocations: 0.6681 MB / 0.5583 GB, free: 80.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.087e-05/0.692, allocations: 305.1 kB / 0.5585 GB, free: 80.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.6935, allocations: 1.402 MB / 0.5599 GB, free: 79.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.6955, allocations: 2.595 MB / 0.5625 GB, free: 77.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/0.6991, allocations: 4.246 MB / 0.5666 GB, free: 74.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/0.6991, allocations: 16 kB / 0.5666 GB, free: 74.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005292/0.7044, allocations: 4.538 MB / 0.571 GB, free: 69.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.7045, allocations: 27.94 kB / 0.5711 GB, free: 69.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.7045, allocations: 36 kB / 0.5711 GB, free: 69.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000644/0.7051, allocations: 310.2 kB / 0.5714 GB, free: 69.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.7074, allocations: 0.78 MB / 0.5722 GB, free: 68.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/0.7113, allocations: 4.787 MB / 0.5768 GB, free: 63.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.7133, allocations: 421.1 kB / 0.5772 GB, free: 63.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.7135, allocations: 175.6 kB / 0.5774 GB, free: 63.1 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.002509/0.716, allocations: 2.183 MB / 0.5795 GB, free: 60.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.7163, allocations: 226.5 kB / 0.5798 GB, free: 60.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/0.7204, allocations: 3.166 MB / 0.5828 GB, free: 57.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.7204, allocations: 25.09 kB / 0.5829 GB, free: 57.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.7204, allocations: 4 kB / 0.5829 GB, free: 57.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.7204, allocations: 11.95 kB / 0.5829 GB, free: 57.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/0.7336, allocations: 10.76 MB / 0.5934 GB, free: 46.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.7336, allocations: 12 kB / 0.5934 GB, free: 46.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.7351, allocations: 444.2 kB / 0.5938 GB, free: 46.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005568/0.7357, allocations: 278 kB / 0.5941 GB, free: 45.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.7358, allocations: 67.98 kB / 0.5942 GB, free: 45.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00374/0.7395, allocations: 4.725 MB / 0.5988 GB, free: 40.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.7395, allocations: 23.88 kB / 0.5988 GB, free: 40.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005116/0.7446, allocations: 5.014 MB / 0.6037 GB, free: 35.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.7457, allocations: 481.8 kB / 0.6041 GB, free: 35.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.7459, allocations: 63.92 kB / 0.6042 GB, free: 34.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.7471, allocations: 119.9 kB / 0.6043 GB, free: 34.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.7474, allocations: 225.2 kB / 0.6045 GB, free: 34.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.7475, allocations: 88.05 kB / 0.6046 GB, free: 34.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001322/0.7488, allocations: 1.294 MB / 0.6059 GB, free: 33.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7488, allocations: 0 / 0.6059 GB, free: 33.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003175/0.752, allocations: 1.459 MB / 0.6073 GB, free: 31.78 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.005657/0.7576, allocations: 5.679 MB / 0.6129 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004425/0.7621, allocations: 3.491 MB / 0.6163 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/0.7621, allocations: 12.12 kB / 0.6163 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.7639, allocations: 1.588 MB / 0.6178 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.7664, allocations: 0.5158 MB / 0.6183 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03586/0.8023, allocations: 29.09 MB / 0.6467 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004689/0.807, allocations: 3.498 MB / 0.6502 GB, free: 1.809 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003109/0.8101, allocations: 1.191 MB / 0.6513 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002783/0.8129, allocations: 2.018 MB / 0.6533 GB, free: 14.62 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.8129, allocations: 0 / 0.6533 GB, free: 14.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1321/0.945, allocations: 68.69 MB / 0.7204 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.85, allocations: 8 kB / 0.7204 GB, free: 10.29 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! Error: Could not read variable resistor2_3.pin_p.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.527841781266034]