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.001318/0.001318, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.001376/0.001376, allocations: 206.2 kB / 23.72 MB, free: 4.531 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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2357/0.2357, allocations: 46.95 MB / 360.8 MB, free: 3.898 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.002277/0.002277, allocations: 75.88 kB / 0.4961 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3762, allocations: 66.09 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01142/0.3876, allocations: 8.239 MB / 0.5687 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006263/0.3939, allocations: 2.726 MB / 0.5714 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.3951, allocations: 87.56 kB / 0.5715 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008522/0.4036, allocations: 3.491 MB / 0.5749 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.4072, allocations: 1.08 MB / 0.5759 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.4091, allocations: 0.7787 MB / 0.5767 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005781/0.4148, allocations: 4.86 MB / 0.5814 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/0.4261, allocations: 7.775 MB / 0.589 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.4302, allocations: 2.852 MB / 0.5918 GB, free: 3.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005186/0.4354, allocations: 3.158 MB / 0.5949 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.4372, allocations: 0.7657 MB / 0.5956 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.4396, allocations: 0.9295 MB / 0.5965 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001719/0.4413, allocations: 1.609 MB / 0.5981 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003493/0.4448, allocations: 2.339 MB / 0.6004 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.4563, allocations: 10.54 MB / 0.6107 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4563, allocations: 0 / 0.6107 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4563, allocations: 0 / 0.6107 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002293/0.4566, allocations: 0 / 0.6107 GB, free: 0.5352 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.01665/0.4732, allocations: 6.344 MB / 0.6169 GB, free: 10.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4733, allocations: 12.03 kB / 0.6169 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002074/0.4753, allocations: 0.8844 MB / 0.6178 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02212/0.4975, allocations: 3.93 MB / 0.6216 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007471/0.5049, allocations: 3.268 MB / 0.6248 GB, free: 1.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/0.5053, allocations: 394.5 kB / 0.6252 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.5068, allocations: 0.4999 MB / 0.6257 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.5236, allocations: 8.732 MB / 0.6342 GB, free: 8.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.5237, allocations: 0 / 0.6342 GB, free: 8.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005747/0.5243, allocations: 219.9 kB / 0.6344 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003766/0.5247, allocations: 339.2 kB / 0.6347 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/0.5395, allocations: 8.023 MB / 0.6425 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04279/0.5823, allocations: 23.3 MB / 0.6653 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.5937, allocations: 4.561 MB / 0.6698 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/0.5965, allocations: 1.483 MB / 0.6712 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.5967, allocations: 53.95 kB / 0.6713 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.5967, allocations: 64.55 kB / 0.6713 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.598e-06/0.5967, allocations: 0 / 0.6713 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006054/0.6028, allocations: 3.523 MB / 0.6748 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.6029, allocations: 107 kB / 0.6749 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00534/0.6082, allocations: 3.507 MB / 0.6783 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.6084, allocations: 61.7 kB / 0.6783 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002022/0.6105, allocations: 2.238 MB / 0.6805 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.6115, allocations: 0.7709 MB / 0.6813 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.6125, allocations: 0.707 MB / 0.682 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6127, allocations: 309.1 kB / 0.6823 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/0.6152, allocations: 1.564 MB / 0.6838 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004004/0.6192, allocations: 3.191 MB / 0.6869 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007694/0.6269, allocations: 5.079 MB / 0.6919 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-05/0.6269, allocations: 16 kB / 0.6919 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008769/0.6357, allocations: 4.956 MB / 0.6967 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.6358, allocations: 28 kB / 0.6968 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.816e-05/0.6358, allocations: 59.98 kB / 0.6968 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.636, allocations: 76 kB / 0.6969 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.6391, allocations: 0.9247 MB / 0.6978 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001033/0.6392, allocations: 111.6 kB / 0.6979 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.6419, allocations: 0.5703 MB / 0.6984 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/0.6422, allocations: 192 kB / 0.6986 GB, free: 4.188 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.003987/0.6462, allocations: 2.085 MB / 0.7007 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006595/0.6468, allocations: 278.2 kB / 0.7009 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005961/0.6528, allocations: 3.179 MB / 0.704 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.6528, allocations: 31.94 kB / 0.7041 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6528, allocations: 0 / 0.7041 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.6528, allocations: 11.95 kB / 0.7041 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.668, allocations: 8.256 MB / 0.7121 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/0.668, allocations: 16 kB / 0.7122 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/0.6701, allocations: 0.5617 MB / 0.7127 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4e-05/0.6702, allocations: 31.98 kB / 0.7127 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.6703, allocations: 75.98 kB / 0.7128 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-05/0.6704, allocations: 39.8 kB / 0.7128 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.056e-05/0.6704, allocations: 27.88 kB / 0.7129 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00792/0.6783, allocations: 5.276 MB / 0.718 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/0.6802, allocations: 0.6457 MB / 0.7187 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004734/0.6807, allocations: 71.98 kB / 0.7187 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.682, allocations: 131.8 kB / 0.7188 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003666/0.6824, allocations: 221.3 kB / 0.7191 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.6825, allocations: 100 kB / 0.7192 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003862/0.6864, allocations: 2.388 MB / 0.7215 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6864, allocations: 3.938 kB / 0.7215 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003906/0.6903, allocations: 1.114 MB / 0.7226 GB, free: 11 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.008169/0.6985, allocations: 5.929 MB / 0.7284 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006077/0.7045, allocations: 3.474 MB / 0.7318 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.383e-05/0.7046, allocations: 4 kB / 0.7318 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2748/0.9793, allocations: 1.469 MB / 0.7332 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004412/0.9837, allocations: 0.5244 MB / 0.7337 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05776/1.041, allocations: 37.67 MB / 0.7705 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002694/1.044, allocations: 3.113 MB / 0.7735 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002783/1.047, allocations: 1.472 MB / 0.775 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/1.049, allocations: 1.647 MB / 0.7766 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/1.049, allocations: 0 / 0.7766 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.165, allocations: 78.1 MB / 0.8529 GB, free: 41.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.2, allocations: 7.797 kB / 0.8529 GB, free: 41.42 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.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.31811765395105]