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.001338/0.001338, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001418/0.001418, allocations: 215.2 kB / 23.75 MB, free: 4.668 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001586/0.001586, allocations: 48.08 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2666, allocations: 53.36 MB / 431.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01638/0.2829, allocations: 14.02 MB / 445.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008895/0.2918, allocations: 3.866 MB / 449 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.2945, allocations: 119.5 kB / 449.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01338/0.3078, allocations: 5.604 MB / 454.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006046/0.3139, allocations: 1.419 MB / 456.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.3177, allocations: 1.236 MB / 457.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00991/0.3276, allocations: 6.487 MB / 463.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01654/0.3442, allocations: 9.154 MB / 473.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.35, allocations: 3.363 MB / 476.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007093/0.3571, allocations: 3.882 MB / 480.3 MB, free: 5.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002448/0.3596, allocations: 0.8867 MB / 481.2 MB, free: 4.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.3632, allocations: 1.086 MB / 482.3 MB, free: 3.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002555/0.3657, allocations: 1.781 MB / 484.1 MB, free: 1.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005612/0.3713, allocations: 3.568 MB / 487.6 MB, free: 14.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01601/0.3873, allocations: 11.98 MB / 499.6 MB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3873, allocations: 0 / 499.6 MB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3873, allocations: 4 kB / 499.6 MB, free: 2.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000358/0.3877, allocations: 0 / 499.6 MB, free: 2.203 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.02213/0.4098, allocations: 7.834 MB / 0.4956 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4099, allocations: 12.03 kB / 0.4956 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002417/0.4123, allocations: 1.047 MB / 0.4966 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0195/0.4318, allocations: 2.884 MB / 0.4994 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00914/0.4409, allocations: 3.744 MB / 0.5031 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005337/0.4415, allocations: 481.1 kB / 0.5035 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002573/0.444, allocations: 0.6249 MB / 0.5041 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.4665, allocations: 9.358 MB / 0.5133 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/0.4666, allocations: 15.94 kB / 0.5133 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007095/0.4673, allocations: 264 kB / 0.5135 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003389/0.4677, allocations: 313.5 kB / 0.5138 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/0.4836, allocations: 7.993 MB / 0.5216 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2904/0.774, allocations: 27.43 MB / 0.5484 GB, free: 84.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006887/0.7809, allocations: 3.955 MB / 0.5523 GB, free: 83.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.7827, allocations: 1.454 MB / 0.5537 GB, free: 83.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.7829, allocations: 85.61 kB / 0.5538 GB, free: 83.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.783, allocations: 57.12 kB / 0.5538 GB, free: 82.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.368e-06/0.783, allocations: 0 / 0.5538 GB, free: 82.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006509/0.7895, allocations: 4.042 MB / 0.5578 GB, free: 81.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.7895, allocations: 101.1 kB / 0.5579 GB, free: 81.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.7917, allocations: 1.905 MB / 0.5597 GB, free: 80.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.7918, allocations: 65.08 kB / 0.5598 GB, free: 80.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009872/0.7928, allocations: 2.642 MB / 0.5624 GB, free: 78.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004614/0.7932, allocations: 0.8486 MB / 0.5632 GB, free: 77.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007174/0.794, allocations: 0.6812 MB / 0.5639 GB, free: 77.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.794, allocations: 301.1 kB / 0.5642 GB, free: 77.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.7956, allocations: 1.401 MB / 0.5655 GB, free: 76.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.7976, allocations: 2.596 MB / 0.5681 GB, free: 74.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/0.8014, allocations: 4.246 MB / 0.5722 GB, free: 70.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/0.8015, allocations: 12 kB / 0.5722 GB, free: 70.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005593/0.8071, allocations: 4.546 MB / 0.5767 GB, free: 65.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.8071, allocations: 27.94 kB / 0.5767 GB, free: 65.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.002e-05/0.8071, allocations: 36 kB / 0.5767 GB, free: 65.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006876/0.8078, allocations: 305.6 kB / 0.577 GB, free: 65.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.8102, allocations: 0.7839 MB / 0.5778 GB, free: 64.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/0.8142, allocations: 4.839 MB / 0.5825 GB, free: 59.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.8162, allocations: 419.8 kB / 0.5829 GB, free: 59.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/0.8165, allocations: 168 kB / 0.5831 GB, free: 58.87 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.002894/0.8194, allocations: 2.187 MB / 0.5852 GB, free: 56.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/0.8197, allocations: 228.3 kB / 0.5854 GB, free: 56.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004085/0.8238, allocations: 3.17 MB / 0.5885 GB, free: 53.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.8238, allocations: 24 kB / 0.5885 GB, free: 53.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.8238, allocations: 4.188 kB / 0.5886 GB, free: 53.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.8239, allocations: 15.95 kB / 0.5886 GB, free: 53.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.838, allocations: 11.03 MB / 0.5993 GB, free: 41.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.838, allocations: 12 kB / 0.5994 GB, free: 41.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.8395, allocations: 447.3 kB / 0.5998 GB, free: 41.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005648/0.8401, allocations: 273.2 kB / 0.6 GB, free: 41.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.8402, allocations: 79.89 kB / 0.6001 GB, free: 41.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/0.844, allocations: 4.773 MB / 0.6048 GB, free: 36.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/0.844, allocations: 23.88 kB / 0.6048 GB, free: 36.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00544/0.8495, allocations: 5.014 MB / 0.6097 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.8505, allocations: 489.7 kB / 0.6102 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.8508, allocations: 65.11 kB / 0.6102 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.852, allocations: 119.9 kB / 0.6103 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/0.8523, allocations: 213.3 kB / 0.6105 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.8524, allocations: 87.97 kB / 0.6106 GB, free: 29.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00154/0.8539, allocations: 1.294 MB / 0.6119 GB, free: 28.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8539, allocations: 0 / 0.6119 GB, free: 28.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003886/0.8578, allocations: 1.456 MB / 0.6133 GB, free: 27.22 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.00573/0.8635, allocations: 5.686 MB / 0.6189 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00467/0.8682, allocations: 3.497 MB / 0.6223 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/0.8682, allocations: 6 kB / 0.6223 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.87, allocations: 1.596 MB / 0.6238 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.8726, allocations: 0.5106 MB / 0.6243 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0445/0.9171, allocations: 29.08 MB / 0.6527 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005358/0.9225, allocations: 4.008 MB / 0.6567 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003205/0.9257, allocations: 1.195 MB / 0.6578 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00314/0.9288, allocations: 2.007 MB / 0.6598 GB, free: 9.52 MB / 478.1 MB Notification: Performance of SimCode: time 1.533e-06/0.9288, allocations: 4 kB / 0.6598 GB, free: 9.516 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1417/1.07, allocations: 69.97 MB / 0.7281 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.78, allocations: 7.797 kB / 0.7281 GB, free: 3.789 MB / 0.5294 GB " [Timeout remaining time 643] (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: 19.36624651799866]