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.001908/0.001908, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002399/0.002399, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.46/1.46, allocations: 230.4 MB / 254 MB, free: 15.05 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.2263/0.2263, allocations: 46.92 MB / 357 MB, free: 10.21 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.002443/0.002443, allocations: 79.86 kB / 0.491 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1273, allocations: 66.05 MB / 0.5555 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01106/0.1384, allocations: 9.472 MB / 0.5647 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0058/0.1442, allocations: 2.835 MB / 0.5675 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.1455, allocations: 87.56 kB / 0.5676 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008387/0.1539, allocations: 3.786 MB / 0.5713 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.1579, allocations: 1.065 MB / 0.5723 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.16, allocations: 0.783 MB / 0.5731 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006245/0.1662, allocations: 4.836 MB / 0.5778 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.1798, allocations: 9.338 MB / 0.5869 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004801/0.1846, allocations: 2.852 MB / 0.5897 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2871/0.4717, allocations: 3.136 MB / 0.5928 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002181/0.4739, allocations: 0.7642 MB / 0.5935 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.4772, allocations: 0.9393 MB / 0.5944 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002657/0.4798, allocations: 1.609 MB / 0.596 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007527/0.4874, allocations: 3.009 MB / 0.5989 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01755/0.5049, allocations: 10.49 MB / 0.6092 GB, free: 10.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5049, allocations: 3.531 kB / 0.6092 GB, free: 10.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5049, allocations: 0 / 0.6092 GB, free: 10.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003402/0.5053, allocations: 0 / 0.6092 GB, free: 10.93 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.02365/0.5289, allocations: 6.42 MB / 0.6154 GB, free: 7.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.529, allocations: 9.562 kB / 0.6154 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00309/0.5321, allocations: 0.8932 MB / 0.6163 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02213/0.5542, allocations: 3.928 MB / 0.6202 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007136/0.5613, allocations: 3.238 MB / 0.6233 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/0.5617, allocations: 395.2 kB / 0.6237 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/0.5642, allocations: 0.4984 MB / 0.6242 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/0.5875, allocations: 8.729 MB / 0.6327 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.5877, allocations: 14.02 kB / 0.6327 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.5887, allocations: 207.6 kB / 0.6329 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003437/0.5891, allocations: 344.3 kB / 0.6332 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/0.6069, allocations: 8.045 MB / 0.6411 GB, free: 7.465 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05025/0.6572, allocations: 27.83 MB / 0.6683 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/0.672, allocations: 10.04 MB / 0.6781 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/0.6751, allocations: 1.484 MB / 0.6795 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.6755, allocations: 228.2 kB / 0.6797 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.6755, allocations: 59.38 kB / 0.6798 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 3.848e-06/0.6755, allocations: 0 / 0.6798 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006254/0.6818, allocations: 3.526 MB / 0.6832 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.6819, allocations: 103.1 kB / 0.6833 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00552/0.6874, allocations: 3.43 MB / 0.6867 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.6876, allocations: 61.7 kB / 0.6868 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00186/0.6895, allocations: 2.235 MB / 0.6889 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008628/0.6903, allocations: 0.7761 MB / 0.6897 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.6915, allocations: 0.703 MB / 0.6904 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6916, allocations: 305.1 kB / 0.6907 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/0.6942, allocations: 1.568 MB / 0.6922 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004009/0.6982, allocations: 3.191 MB / 0.6953 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006987/0.7052, allocations: 5.076 MB / 0.7003 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.433e-05/0.7053, allocations: 16 kB / 0.7003 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008518/0.7138, allocations: 4.962 MB / 0.7051 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.7138, allocations: 29 kB / 0.7052 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.005e-05/0.7139, allocations: 59.98 kB / 0.7052 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.109e-05/0.714, allocations: 81.41 kB / 0.7053 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003156/0.7172, allocations: 0.9148 MB / 0.7062 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.502e-05/0.7172, allocations: 111.7 kB / 0.7063 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/0.7202, allocations: 0.5778 MB / 0.7069 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003479/0.7205, allocations: 192 kB / 0.707 GB, free: 1.164 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.003708/0.7242, allocations: 2.085 MB / 0.7091 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005897/0.7248, allocations: 274.2 kB / 0.7093 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005852/0.7307, allocations: 3.179 MB / 0.7124 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.7307, allocations: 23.94 kB / 0.7125 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7307, allocations: 4 kB / 0.7125 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.7307, allocations: 11.95 kB / 0.7125 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.7461, allocations: 8.667 MB / 0.721 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/0.7461, allocations: 20 kB / 0.721 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/0.7482, allocations: 0.5599 MB / 0.7215 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.928e-05/0.7483, allocations: 28 kB / 0.7215 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.7484, allocations: 75.98 kB / 0.7216 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.425e-05/0.7485, allocations: 39.39 kB / 0.7217 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.956e-05/0.7485, allocations: 27.48 kB / 0.7217 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007602/0.7561, allocations: 5.275 MB / 0.7268 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.7577, allocations: 0.7093 MB / 0.7275 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/0.7582, allocations: 67.98 kB / 0.7276 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.7596, allocations: 127.9 kB / 0.7277 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003561/0.7599, allocations: 220.5 kB / 0.7279 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.7601, allocations: 95.97 kB / 0.728 GB, free: 11.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004017/0.7641, allocations: 2.388 MB / 0.7303 GB, free: 8.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7641, allocations: 4 kB / 0.7303 GB, free: 8.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004035/0.7681, allocations: 1.11 MB / 0.7314 GB, free: 7.828 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.008433/0.7766, allocations: 5.94 MB / 0.7372 GB, free: 1.594 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006309/0.7829, allocations: 3.474 MB / 0.7406 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/0.7829, allocations: 0 / 0.7406 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002615/0.7855, allocations: 1.474 MB / 0.7421 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.7889, allocations: 0.5346 MB / 0.7426 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07019/0.8591, allocations: 37.67 MB / 0.7794 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005931/0.8651, allocations: 3.636 MB / 0.7829 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003654/0.8687, allocations: 1.476 MB / 0.7844 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003117/0.8718, allocations: 1.64 MB / 0.786 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.613e-06/0.8718, allocations: 8 kB / 0.786 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4261/1.298, allocations: 74.92 MB / 0.8591 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.94, allocations: 10.22 kB / 0.8592 GB, free: 216.3 MB / 0.6387 GB " [Timeout remaining time 645] (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.239489911007695]