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.001505/0.001505, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001615/0.001615, allocations: 213.8 kB / 24.54 MB, free: 4.016 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.484/1.484, allocations: 230.3 MB / 258 MB, free: 8.273 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.2266/0.2266, allocations: 46.89 MB / 361.3 MB, free: 4.59 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.002319/0.002319, allocations: 83.84 kB / 0.4966 GB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3402, allocations: 66.03 MB / 0.561 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01179/0.352, allocations: 9.501 MB / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005931/0.3579, allocations: 2.852 MB / 0.5731 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.3597, allocations: 87.56 kB / 0.5732 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008961/0.3687, allocations: 3.784 MB / 0.5769 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.3727, allocations: 1.092 MB / 0.578 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.3747, allocations: 0.8021 MB / 0.5787 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005776/0.3805, allocations: 4.867 MB / 0.5835 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.3912, allocations: 7.363 MB / 0.5907 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/0.3956, allocations: 2.86 MB / 0.5935 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005601/0.4012, allocations: 3.161 MB / 0.5966 GB, free: 140 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002038/0.4032, allocations: 0.7657 MB / 0.5973 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.4062, allocations: 0.9295 MB / 0.5982 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002072/0.4082, allocations: 1.606 MB / 0.5998 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004904/0.4132, allocations: 3.012 MB / 0.6027 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.427, allocations: 10.49 MB / 0.613 GB, free: 15.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.427, allocations: 0 / 0.613 GB, free: 15.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.427, allocations: 0 / 0.613 GB, free: 15.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002988/0.4273, allocations: 4 kB / 0.613 GB, free: 15.29 MB / 462.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.02164/0.4489, allocations: 6.419 MB / 0.6192 GB, free: 8.789 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.449, allocations: 8.031 kB / 0.6193 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002964/0.4519, allocations: 0.8883 MB / 0.6201 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02294/0.4749, allocations: 3.922 MB / 0.6239 GB, free: 3.953 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008052/0.4829, allocations: 3.25 MB / 0.6271 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004276/0.4834, allocations: 394.5 kB / 0.6275 GB, free: 272 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002013/0.4854, allocations: 0.4999 MB / 0.628 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.5086, allocations: 8.728 MB / 0.6365 GB, free: 6.996 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003035/0.5089, allocations: 8 kB / 0.6365 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00239/0.5113, allocations: 208 kB / 0.6367 GB, free: 6.785 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004782/0.5117, allocations: 347.1 kB / 0.637 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.5306, allocations: 8.054 MB / 0.6449 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05472/0.5853, allocations: 27.83 MB / 0.6721 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01631/0.6016, allocations: 10.03 MB / 0.6819 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002954/0.6046, allocations: 1.483 MB / 0.6833 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.6049, allocations: 228.1 kB / 0.6835 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/0.6049, allocations: 52.56 kB / 0.6836 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 3.917e-06/0.6049, allocations: 0 / 0.6836 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.007262/0.6122, allocations: 3.527 MB / 0.687 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.6123, allocations: 99.11 kB / 0.6871 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006557/0.6189, allocations: 3.437 MB / 0.6905 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003092/0.6192, allocations: 61.7 kB / 0.6906 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002123/0.6213, allocations: 2.23 MB / 0.6927 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/0.6224, allocations: 0.7826 MB / 0.6935 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/0.624, allocations: 0.7108 MB / 0.6942 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6241, allocations: 313 kB / 0.6945 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/0.627, allocations: 1.568 MB / 0.696 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004339/0.6314, allocations: 3.183 MB / 0.6991 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007788/0.6391, allocations: 5.075 MB / 0.7041 GB, free: 13.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.378e-05/0.6392, allocations: 16 kB / 0.7041 GB, free: 13.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01076/0.65, allocations: 4.961 MB / 0.7089 GB, free: 8.785 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.504e-05/0.6501, allocations: 32.03 kB / 0.709 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/0.6502, allocations: 56 kB / 0.709 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.6503, allocations: 79.94 kB / 0.7091 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00384/0.6542, allocations: 0.9126 MB / 0.71 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001545/0.6543, allocations: 115.6 kB / 0.7101 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/0.6584, allocations: 0.5741 MB / 0.7107 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007077/0.6591, allocations: 192 kB / 0.7108 GB, free: 6.828 MB / 0.545 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.00445/0.6636, allocations: 2.089 MB / 0.7129 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007464/0.6643, allocations: 274.2 kB / 0.7132 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00628/0.6706, allocations: 3.176 MB / 0.7163 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.6706, allocations: 24 kB / 0.7163 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.6706, allocations: 0 / 0.7163 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/0.6707, allocations: 7.969 kB / 0.7163 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.6882, allocations: 8.684 MB / 0.7248 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.965e-05/0.6883, allocations: 16 kB / 0.7248 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/0.6906, allocations: 0.5578 MB / 0.7253 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.586e-05/0.6906, allocations: 24 kB / 0.7253 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/0.6909, allocations: 80.41 kB / 0.7254 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-05/0.691, allocations: 47.8 kB / 0.7255 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.133e-05/0.691, allocations: 27.88 kB / 0.7255 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008704/0.6997, allocations: 5.257 MB / 0.7306 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/0.702, allocations: 0.7132 MB / 0.7313 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007489/0.7028, allocations: 60 kB / 0.7314 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/0.7045, allocations: 135.9 kB / 0.7315 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004594/0.705, allocations: 221.3 kB / 0.7317 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/0.7052, allocations: 99.97 kB / 0.7318 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2978/1.003, allocations: 2.381 MB / 0.7341 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/1.003, allocations: 0 / 0.7341 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004197/1.007, allocations: 1.113 MB / 0.7352 GB, free: 148.9 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.007099/1.014, allocations: 5.939 MB / 0.741 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005655/1.02, allocations: 3.481 MB / 0.7444 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.115e-05/1.02, allocations: 3.906 kB / 0.7444 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002301/1.022, allocations: 1.47 MB / 0.7459 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/1.026, allocations: 0.5212 MB / 0.7464 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0552/1.081, allocations: 37.68 MB / 0.7832 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004011/1.085, allocations: 3.634 MB / 0.7867 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003158/1.088, allocations: 1.473 MB / 0.7882 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002547/1.091, allocations: 1.655 MB / 0.7898 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.734e-06/1.091, allocations: 0 / 0.7898 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.2, allocations: 78.1 MB / 0.866 GB, free: 25.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.24, allocations: 0 / 0.866 GB, free: 25.85 MB / 0.5606 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.0.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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.44315321999602]