Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.001791/0.001791, 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.002273/0.002273, allocations: 207.5 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.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 79.88 kB / 0.4961 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3441, allocations: 66.09 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01183/0.3559, allocations: 8.239 MB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006325/0.3622, allocations: 2.729 MB / 0.5714 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.364, allocations: 87.56 kB / 0.5715 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008695/0.3727, allocations: 3.492 MB / 0.5749 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.377, allocations: 1.073 MB / 0.5759 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.3793, allocations: 0.7553 MB / 0.5767 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006827/0.3862, allocations: 4.875 MB / 0.5814 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01372/0.3999, allocations: 7.705 MB / 0.589 GB, free: 6.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.4047, allocations: 2.86 MB / 0.5918 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005931/0.4107, allocations: 3.06 MB / 0.5947 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00226/0.4129, allocations: 0.7656 MB / 0.5955 GB, free: 152 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.4163, allocations: 0.9295 MB / 0.5964 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002895/0.4192, allocations: 1.602 MB / 0.598 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005425/0.4246, allocations: 2.343 MB / 0.6002 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.4392, allocations: 10.53 MB / 0.6105 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4392, allocations: 0 / 0.6105 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4392, allocations: 0 / 0.6105 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002961/0.4395, allocations: 0 / 0.6105 GB, free: 0.6953 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.01881/0.4583, allocations: 6.348 MB / 0.6167 GB, free: 10.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4584, allocations: 8.031 kB / 0.6167 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00307/0.4615, allocations: 0.8883 MB / 0.6176 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02267/0.4841, allocations: 3.926 MB / 0.6214 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009075/0.4932, allocations: 3.272 MB / 0.6246 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005271/0.4937, allocations: 394.5 kB / 0.625 GB, free: 1.746 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002654/0.4964, allocations: 0.5038 MB / 0.6255 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02325/0.5196, allocations: 8.728 MB / 0.634 GB, free: 8.473 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002329/0.5199, allocations: 7.984 kB / 0.634 GB, free: 8.465 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001602/0.5215, allocations: 212 kB / 0.6342 GB, free: 8.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004662/0.5219, allocations: 343.2 kB / 0.6346 GB, free: 7.918 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.5398, allocations: 8.015 MB / 0.6424 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05145/0.5913, allocations: 23.3 MB / 0.6651 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.6032, allocations: 4.567 MB / 0.6696 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/0.6062, allocations: 1.479 MB / 0.671 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.6064, allocations: 65.94 kB / 0.6711 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/0.6065, allocations: 56.56 kB / 0.6712 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 5.951e-06/0.6065, allocations: 0 / 0.6712 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006595/0.6131, allocations: 3.523 MB / 0.6746 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.6132, allocations: 103 kB / 0.6747 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007327/0.6205, allocations: 3.515 MB / 0.6781 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003079/0.6208, allocations: 53.7 kB / 0.6782 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002248/0.6231, allocations: 2.241 MB / 0.6804 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001064/0.6241, allocations: 0.7748 MB / 0.6811 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001664/0.6258, allocations: 0.707 MB / 0.6818 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6259, allocations: 309 kB / 0.6821 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/0.6289, allocations: 1.564 MB / 0.6836 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004891/0.6338, allocations: 3.187 MB / 0.6868 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007797/0.6416, allocations: 5.079 MB / 0.6917 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.767e-05/0.6417, allocations: 16 kB / 0.6917 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00986/0.6515, allocations: 4.956 MB / 0.6966 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/0.6516, allocations: 31.98 kB / 0.6966 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/0.6517, allocations: 56 kB / 0.6967 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.6519, allocations: 76.81 kB / 0.6967 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003356/0.6552, allocations: 0.9203 MB / 0.6976 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000144/0.6554, allocations: 115.6 kB / 0.6977 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/0.6583, allocations: 0.5702 MB / 0.6983 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004474/0.6588, allocations: 196 kB / 0.6985 GB, free: 4.336 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.004027/0.6628, allocations: 2.081 MB / 0.7005 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007125/0.6635, allocations: 270.4 kB / 0.7008 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006654/0.6702, allocations: 3.187 MB / 0.7039 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/0.6702, allocations: 24 kB / 0.7039 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.6702, allocations: 0 / 0.7039 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/0.6703, allocations: 11.95 kB / 0.7039 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/0.6874, allocations: 8.267 MB / 0.712 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-05/0.6874, allocations: 16 kB / 0.712 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/0.6896, allocations: 0.5616 MB / 0.7126 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-05/0.6896, allocations: 28 kB / 0.7126 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.6898, allocations: 76.42 kB / 0.7127 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.501e-05/0.6899, allocations: 43.8 kB / 0.7127 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.077e-05/0.6899, allocations: 27.94 kB / 0.7127 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008258/0.6982, allocations: 5.264 MB / 0.7179 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/0.7001, allocations: 0.6536 MB / 0.7185 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006857/0.7008, allocations: 63.98 kB / 0.7186 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.7024, allocations: 131.9 kB / 0.7187 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003795/0.7028, allocations: 229.2 kB / 0.7189 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.703, allocations: 95.97 kB / 0.719 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004617/0.7076, allocations: 2.384 MB / 0.7213 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7076, allocations: 0 / 0.7213 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003957/0.7116, allocations: 1.114 MB / 0.7224 GB, free: 11.16 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.008899/0.7205, allocations: 5.951 MB / 0.7282 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006717/0.7272, allocations: 3.466 MB / 0.7316 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.858e-05/0.7272, allocations: 8.062 kB / 0.7316 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.248/0.9752, allocations: 1.468 MB / 0.7331 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/0.9795, allocations: 0.5264 MB / 0.7336 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04282/1.022, 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.002511/1.025, allocations: 3.117 MB / 0.7734 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002801/1.028, allocations: 1.472 MB / 0.7748 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/1.029, allocations: 1.64 MB / 0.7764 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.442e-06/1.029, allocations: 0 / 0.7764 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/1.142, allocations: 76.17 MB / 0.8508 GB, free: 43.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.55, allocations: 7.797 kB / 0.8508 GB, free: 43.28 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.790237830020487]