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.00145/0.00145, allocations: 80.8 kB / 20.49 MB, free: 1.211 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.00183/0.00183, allocations: 168.2 kB / 23.75 MB, free: 4.227 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.534/1.534, allocations: 177.1 MB / 204 MB, free: 9.234 MB / 190.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.2248/0.2248, allocations: 34.26 MB / 294.7 MB, free: 14.62 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.002708/0.002708, allocations: 83.86 kB / 441.9 MB, free: 6.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3468, allocations: 66.04 MB / 0.496 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01174/0.3585, allocations: 8.259 MB / 0.5041 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006972/0.3655, allocations: 2.726 MB / 0.5068 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.3678, allocations: 83.62 kB / 0.5068 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009219/0.377, allocations: 3.687 MB / 0.5104 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.3815, allocations: 1.068 MB / 0.5115 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.3837, allocations: 0.7707 MB / 0.5122 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006149/0.3898, allocations: 4.867 MB / 0.517 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.4005, allocations: 7.702 MB / 0.5245 GB, free: 4.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006914/0.4074, allocations: 4.324 MB / 0.5287 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00552/0.413, allocations: 3.06 MB / 0.5317 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001687/0.4146, allocations: 0.7656 MB / 0.5325 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.4169, allocations: 0.9217 MB / 0.5334 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.4185, allocations: 1.609 MB / 0.5349 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003247/0.4218, allocations: 2.339 MB / 0.5372 GB, free: 7.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.4333, allocations: 10.54 MB / 0.5475 GB, free: 12.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4333, allocations: 0 / 0.5475 GB, free: 12.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4333, allocations: 4 kB / 0.5475 GB, free: 12.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002398/0.4336, allocations: 0 / 0.5475 GB, free: 12.69 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.01815/0.4517, allocations: 6.34 MB / 0.5537 GB, free: 6.293 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4518, allocations: 8.031 kB / 0.5537 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001729/0.4535, allocations: 0.9 MB / 0.5546 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02237/0.4759, allocations: 3.926 MB / 0.5584 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007296/0.4832, allocations: 3.272 MB / 0.5616 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004103/0.4836, allocations: 394.5 kB / 0.562 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001863/0.4854, allocations: 0.4999 MB / 0.5625 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/0.5043, allocations: 8.724 MB / 0.571 GB, free: 4.473 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.5045, allocations: 12 kB / 0.571 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005799/0.505, allocations: 212 kB / 0.5712 GB, free: 4.254 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004268/0.5055, allocations: 343.2 kB / 0.5716 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.5218, allocations: 8.015 MB / 0.5794 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04598/0.5678, allocations: 23.32 MB / 0.6021 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.5794, allocations: 4.558 MB / 0.6066 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/0.5822, allocations: 1.475 MB / 0.608 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.5824, allocations: 57.94 kB / 0.6081 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/0.5825, allocations: 56.56 kB / 0.6081 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 4.628e-06/0.5825, allocations: 0 / 0.6081 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.006364/0.5888, allocations: 3.523 MB / 0.6116 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.5889, allocations: 103.1 kB / 0.6117 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005218/0.5941, allocations: 3.518 MB / 0.6151 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.5944, allocations: 61.64 kB / 0.6152 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001893/0.5963, allocations: 2.23 MB / 0.6174 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008544/0.5971, allocations: 0.7787 MB / 0.6181 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.5982, allocations: 0.707 MB / 0.6188 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5984, allocations: 313.1 kB / 0.6191 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.601, allocations: 1.568 MB / 0.6206 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/0.605, allocations: 3.191 MB / 0.6238 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007203/0.6122, allocations: 5.075 MB / 0.6287 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.085e-05/0.6123, allocations: 16 kB / 0.6287 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009764/0.622, allocations: 4.957 MB / 0.6336 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/0.6221, allocations: 32 kB / 0.6336 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-05/0.6222, allocations: 56.16 kB / 0.6337 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-05/0.6223, allocations: 80 kB / 0.6337 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/0.6256, allocations: 0.9165 MB / 0.6346 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001126/0.6257, allocations: 111.6 kB / 0.6347 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/0.6287, allocations: 0.5819 MB / 0.6353 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/0.6291, allocations: 188 kB / 0.6355 GB, free: 328 kB / 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.2818/0.9109, allocations: 2.087 MB / 0.6375 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006343/0.9115, allocations: 272.6 kB / 0.6378 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/0.917, allocations: 3.175 MB / 0.6409 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.917, allocations: 24.25 kB / 0.6409 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.917, allocations: 5.453 kB / 0.6409 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.9171, allocations: 10.97 kB / 0.6409 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.9293, allocations: 8.269 MB / 0.649 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.9293, allocations: 15.47 kB / 0.649 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/0.9312, allocations: 0.5688 MB / 0.6496 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-05/0.9312, allocations: 31.41 kB / 0.6496 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.9313, allocations: 78.19 kB / 0.6497 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-05/0.9314, allocations: 39.05 kB / 0.6497 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/0.9314, allocations: 19.66 kB / 0.6497 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005631/0.937, allocations: 5.264 MB / 0.6549 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/0.9384, allocations: 0.6491 MB / 0.6555 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004153/0.9388, allocations: 73.22 kB / 0.6556 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.9401, allocations: 124.3 kB / 0.6557 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/0.9404, allocations: 226.3 kB / 0.6559 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.9405, allocations: 101.7 kB / 0.656 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002898/0.9434, allocations: 2.387 MB / 0.6583 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.9434, allocations: 0 / 0.6583 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00326/0.9467, allocations: 1.113 MB / 0.6594 GB, free: 107.9 MB / 0.5294 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.006019/0.9527, allocations: 5.935 MB / 0.6652 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004671/0.9574, allocations: 3.477 MB / 0.6686 GB, free: 99.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.116e-05/0.9574, allocations: 4 kB / 0.6686 GB, free: 99.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.9593, allocations: 1.47 MB / 0.67 GB, free: 97.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.9624, allocations: 0.5382 MB / 0.6706 GB, free: 97.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04807/1.01, allocations: 37.67 MB / 0.7074 GB, free: 56.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00277/1.013, allocations: 3.108 MB / 0.7104 GB, free: 53.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003007/1.016, allocations: 1.476 MB / 0.7118 GB, free: 52.37 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001971/1.018, allocations: 1.641 MB / 0.7134 GB, free: 50.73 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/1.018, allocations: 4 kB / 0.7134 GB, free: 50.72 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/1.142, allocations: 76.3 MB / 0.7879 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/16.54, allocations: 0 / 0.7879 GB, free: 6.723 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.788990112952888]