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.00193/0.00193, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002757/0.002757, allocations: 200.3 kB / 20.74 MB, free: 2.32 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 / 254.1 MB, free: 15.1 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.2401/0.2401, allocations: 46.92 MB / 357.1 MB, free: 10.34 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.001855/0.001855, allocations: 67.84 kB / 0.4909 GB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1229, allocations: 65.99 MB / 0.5554 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01087/0.1338, allocations: 9.477 MB / 0.5646 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005428/0.1392, allocations: 2.835 MB / 0.5674 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009139/0.1402, allocations: 91.56 kB / 0.5675 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007935/0.1481, allocations: 3.776 MB / 0.5712 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.1513, allocations: 1.065 MB / 0.5722 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.1531, allocations: 0.7869 MB / 0.573 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005265/0.1583, allocations: 4.84 MB / 0.5777 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.1698, allocations: 9.334 MB / 0.5868 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.1735, allocations: 2.848 MB / 0.5896 GB, free: 2.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2635/0.437, allocations: 3.147 MB / 0.5927 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002157/0.4392, allocations: 0.7655 MB / 0.5934 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.4422, allocations: 0.936 MB / 0.5943 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.4444, allocations: 1.606 MB / 0.5959 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005698/0.45, allocations: 3.016 MB / 0.5988 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.4644, allocations: 10.49 MB / 0.6091 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4644, allocations: 1.812 kB / 0.6091 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4644, allocations: 0 / 0.6091 GB, free: 10.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003017/0.4647, allocations: 2.531 kB / 0.6091 GB, free: 10.96 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.02043/0.4851, allocations: 6.42 MB / 0.6154 GB, free: 7.555 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4851, allocations: 8.5 kB / 0.6154 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002981/0.4881, allocations: 0.8886 MB / 0.6162 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/0.5102, allocations: 3.929 MB / 0.6201 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00706/0.5173, allocations: 3.244 MB / 0.6232 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/0.5176, allocations: 391.1 kB / 0.6236 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/0.5197, allocations: 0.4964 MB / 0.6241 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/0.5389, allocations: 8.734 MB / 0.6326 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/0.5391, allocations: 7.266 kB / 0.6326 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008403/0.5399, allocations: 212.6 kB / 0.6328 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003281/0.5402, allocations: 343.6 kB / 0.6332 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0158/0.556, allocations: 8.051 MB / 0.641 GB, free: 7.828 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04946/0.6055, allocations: 27.83 MB / 0.6682 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01448/0.62, allocations: 10.03 MB / 0.678 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002756/0.6227, allocations: 1.488 MB / 0.6795 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.623, allocations: 224.9 kB / 0.6797 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.6231, allocations: 60.55 kB / 0.6797 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.067e-06/0.6231, allocations: 0 / 0.6797 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.00617/0.6292, allocations: 3.525 MB / 0.6832 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.6293, allocations: 107.1 kB / 0.6833 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005259/0.6346, allocations: 3.426 MB / 0.6866 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.6348, allocations: 61.7 kB / 0.6867 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00192/0.6367, allocations: 2.237 MB / 0.6889 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008325/0.6375, allocations: 0.7696 MB / 0.6896 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.6386, allocations: 0.7147 MB / 0.6903 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6388, allocations: 301.1 kB / 0.6906 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/0.6414, allocations: 1.564 MB / 0.6921 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004088/0.6455, allocations: 3.193 MB / 0.6952 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007203/0.6527, allocations: 5.07 MB / 0.7002 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-05/0.6527, allocations: 21.5 kB / 0.7002 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008934/0.6617, allocations: 4.963 MB / 0.7051 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.6617, allocations: 29.88 kB / 0.7051 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-05/0.6618, allocations: 59.47 kB / 0.7051 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.39e-05/0.6619, allocations: 76 kB / 0.7052 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/0.6651, allocations: 0.916 MB / 0.7061 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.943e-05/0.6652, allocations: 113.1 kB / 0.7062 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.668, allocations: 0.5742 MB / 0.7068 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003244/0.6683, allocations: 192 kB / 0.707 GB, free: 1.531 MB / 0.5137 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.003637/0.6719, allocations: 2.085 MB / 0.709 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005725/0.6725, allocations: 274.2 kB / 0.7093 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/0.6782, allocations: 3.175 MB / 0.7124 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.6783, allocations: 27.94 kB / 0.7124 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6783, allocations: 4 kB / 0.7124 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.6783, allocations: 11.95 kB / 0.7124 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.6928, allocations: 8.669 MB / 0.7209 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/0.6928, allocations: 22.72 kB / 0.7209 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/0.6949, allocations: 0.5679 MB / 0.7214 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.771e-05/0.6949, allocations: 24.59 kB / 0.7215 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.695, allocations: 79.98 kB / 0.7215 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-05/0.6951, allocations: 37.98 kB / 0.7216 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-05/0.6951, allocations: 27.31 kB / 0.7216 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007385/0.7025, allocations: 5.267 MB / 0.7267 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.7039, allocations: 0.7054 MB / 0.7274 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/0.7043, allocations: 72.05 kB / 0.7275 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.7055, allocations: 123.9 kB / 0.7276 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/0.7059, allocations: 223.8 kB / 0.7278 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.706, allocations: 91.98 kB / 0.7279 GB, free: 11.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003756/0.7098, allocations: 2.388 MB / 0.7303 GB, free: 9.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7098, allocations: 0 / 0.7303 GB, free: 9.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003617/0.7134, allocations: 1.114 MB / 0.7313 GB, free: 8.199 MB / 0.545 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.008315/0.7217, allocations: 5.944 MB / 0.7372 GB, free: 1.965 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006273/0.728, allocations: 3.477 MB / 0.7405 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/0.728, allocations: 4 kB / 0.7406 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.7305, allocations: 1.468 MB / 0.742 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/0.7338, allocations: 0.5314 MB / 0.7425 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06317/0.7969, allocations: 37.67 MB / 0.7793 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004195/0.8011, allocations: 3.64 MB / 0.7828 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003537/0.8047, allocations: 1.476 MB / 0.7843 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00257/0.8072, allocations: 1.647 MB / 0.7859 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of SimCode: time 1.242e-06/0.8072, allocations: 0 / 0.7859 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3852/1.192, allocations: 74.92 MB / 0.8591 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.94, allocations: 9.125 kB / 0.8591 GB, free: 216.6 MB / 0.6387 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.20352981099859]