Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.001621/0.001621, 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.00256/0.00256, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2354/0.2354, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3292, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01122/0.3405, allocations: 8.231 MB / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007596/0.348, allocations: 2.729 MB / 0.5713 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.3501, allocations: 87.56 kB / 0.5714 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009332/0.3594, allocations: 3.484 MB / 0.5748 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004939/0.3643, allocations: 1.092 MB / 0.5758 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.3668, allocations: 0.7711 MB / 0.5766 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006846/0.3737, allocations: 4.86 MB / 0.5813 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0125/0.3862, allocations: 7.779 MB / 0.5889 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004689/0.3909, allocations: 2.852 MB / 0.5917 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005424/0.3963, allocations: 3.161 MB / 0.5948 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.3982, allocations: 0.7656 MB / 0.5956 GB, free: 192 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.401, allocations: 0.9295 MB / 0.5965 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001967/0.403, allocations: 1.602 MB / 0.598 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003952/0.4069, allocations: 2.346 MB / 0.6003 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.4191, allocations: 10.53 MB / 0.6106 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.4191, allocations: 4 kB / 0.6106 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4191, allocations: 0 / 0.6106 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003106/0.4194, allocations: 0 / 0.6106 GB, free: 0.7344 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01973/0.4391, allocations: 6.348 MB / 0.6168 GB, free: 10.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.4392, allocations: 8.031 kB / 0.6168 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002812/0.442, allocations: 0.8922 MB / 0.6177 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02213/0.4641, allocations: 3.934 MB / 0.6215 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008131/0.4723, allocations: 3.261 MB / 0.6247 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004471/0.4727, allocations: 390.5 kB / 0.6251 GB, free: 1.789 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002057/0.4748, allocations: 0.4999 MB / 0.6256 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.496, allocations: 8.732 MB / 0.6341 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.4962, allocations: 11.94 kB / 0.6341 GB, free: 8.504 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/0.4972, allocations: 212 kB / 0.6343 GB, free: 8.297 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003964/0.4976, allocations: 339.2 kB / 0.6346 GB, free: 7.961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/0.5152, allocations: 8.012 MB / 0.6425 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04566/0.5608, allocations: 23.31 MB / 0.6652 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/0.5723, allocations: 4.554 MB / 0.6697 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/0.5752, allocations: 1.479 MB / 0.6711 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.5754, allocations: 65.94 kB / 0.6712 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.5755, allocations: 60.56 kB / 0.6712 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.508e-06/0.5755, allocations: 0 / 0.6712 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.005965/0.5814, allocations: 3.523 MB / 0.6747 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.5815, allocations: 107 kB / 0.6748 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005523/0.587, allocations: 3.518 MB / 0.6782 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002263/0.5873, allocations: 57.7 kB / 0.6783 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00191/0.5892, allocations: 2.234 MB / 0.6804 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009412/0.5901, allocations: 0.7748 MB / 0.6812 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.5912, allocations: 0.7031 MB / 0.6819 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5914, allocations: 305.1 kB / 0.6822 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.5941, allocations: 1.568 MB / 0.6837 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004329/0.5984, allocations: 3.199 MB / 0.6868 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007403/0.6058, allocations: 5.071 MB / 0.6918 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.226e-05/0.6059, allocations: 16 kB / 0.6918 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009724/0.6156, allocations: 4.957 MB / 0.6966 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.6156, allocations: 32.12 kB / 0.6967 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.657e-05/0.6157, allocations: 60 kB / 0.6967 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.6158, allocations: 80 kB / 0.6968 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.6191, allocations: 0.9086 MB / 0.6977 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001217/0.6192, allocations: 115.6 kB / 0.6978 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/0.6223, allocations: 0.5741 MB / 0.6984 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.6226, allocations: 196 kB / 0.6986 GB, free: 4.375 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * 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 (442): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003626/0.6262, allocations: 2.081 MB / 0.7006 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005635/0.6268, allocations: 270.2 kB / 0.7008 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005737/0.6325, allocations: 3.187 MB / 0.704 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.6325, allocations: 24 kB / 0.704 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6325, allocations: 0 / 0.704 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.6326, allocations: 11.95 kB / 0.704 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.6473, allocations: 8.259 MB / 0.7121 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-05/0.6473, allocations: 16 kB / 0.7121 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/0.6494, allocations: 0.5663 MB / 0.7126 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.88e-05/0.6494, allocations: 32 kB / 0.7127 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/0.6495, allocations: 79.97 kB / 0.7127 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.284e-05/0.6496, allocations: 35.88 kB / 0.7128 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.049e-05/0.6496, allocations: 27.88 kB / 0.7128 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007582/0.6572, allocations: 5.268 MB / 0.7179 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/0.6591, allocations: 0.6496 MB / 0.7186 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.6595, allocations: 71.98 kB / 0.7186 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.6608, allocations: 131.8 kB / 0.7188 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/0.6611, allocations: 225.2 kB / 0.719 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/0.6613, allocations: 95.98 kB / 0.7191 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003872/0.6651, allocations: 2.388 MB / 0.7214 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6651, allocations: 0 / 0.7214 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003741/0.6689, allocations: 1.114 MB / 0.7225 GB, free: 11.19 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.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 (275): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01131/0.6802, allocations: 5.936 MB / 0.7283 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009809/0.69, allocations: 3.473 MB / 0.7317 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.283e-05/0.69, allocations: 0 / 0.7317 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2929/0.9829, allocations: 1.47 MB / 0.7331 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/0.9867, allocations: 0.5284 MB / 0.7336 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04744/1.034, allocations: 37.67 MB / 0.7704 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002505/1.037, allocations: 3.112 MB / 0.7735 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002741/1.039, allocations: 1.48 MB / 0.7749 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/1.041, allocations: 1.651 MB / 0.7765 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.193e-06/1.041, allocations: 0 / 0.7765 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.151, allocations: 78.11 MB / 0.8528 GB, free: 41.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/15.2, allocations: 0 / 0.8528 GB, free: 41.54 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.37634668100509]