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.001435/0.001435, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001711/0.001711, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2412/0.2412, allocations: 46.95 MB / 360.9 MB, free: 4.102 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.002159/0.002159, allocations: 67.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.342, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.0118/0.3538, allocations: 8.239 MB / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007283/0.3611, allocations: 2.73 MB / 0.5713 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.3632, allocations: 87.56 kB / 0.5714 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009019/0.3723, allocations: 3.5 MB / 0.5748 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.3764, allocations: 1.069 MB / 0.5758 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.3787, allocations: 0.7625 MB / 0.5766 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005929/0.3846, allocations: 4.864 MB / 0.5813 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01187/0.3965, allocations: 7.701 MB / 0.5889 GB, free: 7.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004181/0.4006, allocations: 2.864 MB / 0.5916 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005119/0.4058, allocations: 3.068 MB / 0.5946 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001853/0.4076, allocations: 0.7656 MB / 0.5954 GB, free: 352 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.4105, allocations: 0.9217 MB / 0.5963 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002532/0.413, allocations: 1.605 MB / 0.5979 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006611/0.4196, allocations: 2.343 MB / 0.6001 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.4332, allocations: 10.53 MB / 0.6104 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.4332, allocations: 0 / 0.6104 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4332, allocations: 0 / 0.6104 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003218/0.4335, allocations: 0 / 0.6104 GB, free: 0.8945 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.0199/0.4534, allocations: 6.344 MB / 0.6166 GB, free: 10.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.4535, allocations: 8.031 kB / 0.6166 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002999/0.4565, allocations: 0.8844 MB / 0.6175 GB, free: 9.586 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02359/0.4801, allocations: 3.934 MB / 0.6213 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008346/0.4884, allocations: 3.276 MB / 0.6245 GB, free: 2.328 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004645/0.4889, allocations: 394.5 kB / 0.6249 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002157/0.491, allocations: 0.5038 MB / 0.6254 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/0.5145, allocations: 8.728 MB / 0.6339 GB, free: 8.668 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/0.5147, allocations: 4 kB / 0.6339 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001598/0.5163, allocations: 208 kB / 0.6341 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004528/0.5168, allocations: 343.2 kB / 0.6345 GB, free: 8.121 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0191/0.5359, allocations: 8.019 MB / 0.6423 GB, free: 80 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05749/0.5934, allocations: 23.3 MB / 0.6651 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/0.6054, allocations: 4.554 MB / 0.6695 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003074/0.6085, allocations: 1.479 MB / 0.6709 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.6088, allocations: 65.94 kB / 0.671 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/0.6088, allocations: 56.5 kB / 0.6711 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 5.16e-06/0.6088, allocations: 4 kB / 0.6711 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.00658/0.6154, allocations: 3.523 MB / 0.6745 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.6155, allocations: 99.11 kB / 0.6746 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006118/0.6216, allocations: 3.518 MB / 0.678 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003187/0.6219, allocations: 57.7 kB / 0.6781 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0022/0.6241, allocations: 2.23 MB / 0.6803 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/0.6252, allocations: 0.7787 MB / 0.681 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/0.6265, allocations: 0.7108 MB / 0.6817 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.6267, allocations: 305.1 kB / 0.682 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/0.6294, allocations: 1.572 MB / 0.6835 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004119/0.6335, allocations: 3.183 MB / 0.6867 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007835/0.6413, allocations: 5.079 MB / 0.6916 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.446e-05/0.6414, allocations: 16 kB / 0.6916 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01007/0.6515, allocations: 4.96 MB / 0.6965 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.991e-05/0.6515, allocations: 32 kB / 0.6965 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/0.6516, allocations: 52 kB / 0.6966 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.6518, allocations: 80 kB / 0.6966 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003572/0.6553, allocations: 0.921 MB / 0.6975 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001485/0.6555, allocations: 111.6 kB / 0.6976 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/0.6585, allocations: 0.5702 MB / 0.6982 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005577/0.6591, allocations: 196 kB / 0.6984 GB, free: 4.539 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.003781/0.6628, allocations: 2.085 MB / 0.7004 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006176/0.6634, allocations: 270.2 kB / 0.7007 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008838/0.6723, allocations: 3.183 MB / 0.7038 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-05/0.6723, allocations: 24 kB / 0.7038 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/0.6723, allocations: 4 kB / 0.7038 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-05/0.6724, allocations: 11.97 kB / 0.7038 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/0.6903, allocations: 8.279 MB / 0.7119 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.054e-05/0.6903, allocations: 16 kB / 0.7119 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/0.6925, allocations: 0.5578 MB / 0.7125 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-05/0.6925, allocations: 24 kB / 0.7125 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/0.6928, allocations: 79.97 kB / 0.7126 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.657e-05/0.6928, allocations: 44.14 kB / 0.7126 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.196e-05/0.6928, allocations: 31.88 kB / 0.7126 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008264/0.7011, allocations: 5.257 MB / 0.7178 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/0.703, allocations: 0.646 MB / 0.7184 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006969/0.7037, allocations: 67.98 kB / 0.7185 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.7053, allocations: 135.6 kB / 0.7186 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/0.7056, allocations: 225.3 kB / 0.7188 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.7058, allocations: 91.98 kB / 0.7189 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004144/0.71, allocations: 2.388 MB / 0.7212 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.71, allocations: 0 / 0.7212 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003883/0.7138, allocations: 1.118 MB / 0.7223 GB, free: 11.36 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.008703/0.7225, allocations: 5.933 MB / 0.7281 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006505/0.729, allocations: 3.478 MB / 0.7315 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.192e-05/0.7291, allocations: 4.188 kB / 0.7315 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002834/0.7319, allocations: 1.474 MB / 0.733 GB, free: 124 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2689/1.001, allocations: 0.5222 MB / 0.7335 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04485/1.046, allocations: 37.68 MB / 0.7703 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/1.048, allocations: 3.104 MB / 0.7733 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002768/1.051, allocations: 1.476 MB / 0.7747 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/1.053, allocations: 1.643 MB / 0.7763 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/1.053, allocations: 0 / 0.7763 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/1.16, allocations: 76.18 MB / 0.8507 GB, free: 44.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.72, allocations: 3.781 kB / 0.8507 GB, free: 44.12 MB / 0.5606 GB " [Timeout remaining time 644] (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: 19.017451779916883]