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.001369/0.001369, allocations: 123.4 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.001543/0.001543, allocations: 215.5 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.545/1.545, allocations: 230.4 MB / 254 MB, free: 15.04 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.2437/0.2437, 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.002485/0.002485, allocations: 91.86 kB / 0.491 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1313, allocations: 66.03 MB / 0.5554 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01335/0.1447, allocations: 9.488 MB / 0.5647 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006584/0.1513, allocations: 2.835 MB / 0.5675 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.153, allocations: 87.56 kB / 0.5676 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009469/0.1625, allocations: 3.779 MB / 0.5713 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004138/0.1667, allocations: 1.07 MB / 0.5723 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.169, allocations: 0.775 MB / 0.5731 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007615/0.1767, allocations: 4.844 MB / 0.5778 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01786/0.1945, allocations: 9.33 MB / 0.5869 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005099/0.1996, allocations: 2.86 MB / 0.5897 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3254/0.525, allocations: 3.137 MB / 0.5928 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002243/0.5272, allocations: 0.7657 MB / 0.5935 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.53, allocations: 0.9385 MB / 0.5944 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.5315, allocations: 1.606 MB / 0.596 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006373/0.5379, allocations: 3.014 MB / 0.5989 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0168/0.5547, allocations: 10.48 MB / 0.6092 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5547, allocations: 1.5 kB / 0.6092 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5547, allocations: 0 / 0.6092 GB, free: 10.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004368/0.5551, allocations: 0 / 0.6092 GB, free: 10.96 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.02537/0.5805, allocations: 6.424 MB / 0.6154 GB, free: 7.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.5806, allocations: 9.094 kB / 0.6155 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005253/0.5858, allocations: 0.89 MB / 0.6163 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02415/0.61, allocations: 3.93 MB / 0.6202 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007785/0.6178, allocations: 3.245 MB / 0.6233 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004978/0.6183, allocations: 392.9 kB / 0.6237 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002957/0.6212, allocations: 0.5002 MB / 0.6242 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02784/0.6491, allocations: 8.727 MB / 0.6327 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002937/0.6494, allocations: 7.016 kB / 0.6327 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/0.6521, allocations: 210.6 kB / 0.6329 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004478/0.6526, allocations: 343.8 kB / 0.6332 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02161/0.6742, allocations: 8.05 MB / 0.6411 GB, free: 7.477 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06353/0.7377, allocations: 27.83 MB / 0.6683 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.016/0.7537, allocations: 10.03 MB / 0.6781 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003523/0.7572, allocations: 1.488 MB / 0.6795 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000441/0.7577, allocations: 227.9 kB / 0.6797 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.06e-05/0.7578, allocations: 59.19 kB / 0.6798 GB, free: 14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 5.1e-06/0.7578, allocations: 0 / 0.6798 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.00794/0.7657, allocations: 3.53 MB / 0.6833 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.7658, allocations: 99.11 kB / 0.6833 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009424/0.7752, allocations: 3.43 MB / 0.6867 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005088/0.7757, allocations: 61.7 kB / 0.6868 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003355/0.7791, allocations: 2.239 MB / 0.6889 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001649/0.7807, allocations: 0.7754 MB / 0.6897 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002661/0.7834, allocations: 0.7056 MB / 0.6904 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7836, allocations: 305.1 kB / 0.6907 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004688/0.7882, allocations: 1.564 MB / 0.6922 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006868/0.7951, allocations: 3.191 MB / 0.6953 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.8065, allocations: 5.083 MB / 0.7003 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.171e-05/0.8066, allocations: 16 kB / 0.7003 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01526/0.8218, allocations: 4.956 MB / 0.7051 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.8219, allocations: 31.98 kB / 0.7052 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.822, allocations: 56 kB / 0.7052 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.8221, allocations: 79.47 kB / 0.7053 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/0.8263, allocations: 0.9137 MB / 0.7062 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001081/0.8264, allocations: 114.2 kB / 0.7063 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/0.8299, allocations: 0.5702 MB / 0.7069 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004216/0.8303, allocations: 192 kB / 0.707 GB, free: 1.18 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.004578/0.8349, allocations: 2.086 MB / 0.7091 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006603/0.8355, allocations: 278.2 kB / 0.7093 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006109/0.8416, allocations: 3.182 MB / 0.7125 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.8417, allocations: 27.94 kB / 0.7125 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.8417, allocations: 4 kB / 0.7125 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.8417, allocations: 11.95 kB / 0.7125 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.8585, allocations: 8.663 MB / 0.721 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/0.8586, allocations: 19.47 kB / 0.721 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/0.8608, allocations: 0.5648 MB / 0.7215 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.77e-05/0.8608, allocations: 28 kB / 0.7215 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/0.861, allocations: 71.98 kB / 0.7216 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.652e-05/0.861, allocations: 40.98 kB / 0.7217 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-05/0.8611, allocations: 26.94 kB / 0.7217 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008807/0.8699, allocations: 5.266 MB / 0.7268 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/0.8717, allocations: 0.7132 MB / 0.7275 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004971/0.8722, allocations: 67.98 kB / 0.7276 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.8736, allocations: 123.9 kB / 0.7277 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/0.8739, allocations: 220.1 kB / 0.7279 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.8741, allocations: 95.97 kB / 0.728 GB, free: 11.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004203/0.8783, allocations: 2.388 MB / 0.7303 GB, free: 8.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.8783, allocations: 0 / 0.7303 GB, free: 8.961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004289/0.8826, allocations: 1.11 MB / 0.7314 GB, free: 7.848 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.008669/0.8913, allocations: 5.95 MB / 0.7372 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006518/0.8978, allocations: 3.475 MB / 0.7406 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/0.8978, allocations: 0 / 0.7406 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002829/0.9006, allocations: 1.474 MB / 0.7421 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/0.9046, allocations: 0.5326 MB / 0.7426 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07781/0.9824, allocations: 37.68 MB / 0.7794 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004673/0.9871, allocations: 3.644 MB / 0.7829 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003674/0.9908, allocations: 1.472 MB / 0.7844 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002977/0.9937, allocations: 1.643 MB / 0.786 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.905e-06/0.9937, allocations: 0 / 0.786 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4328/1.427, allocations: 74.92 MB / 0.8591 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/15.27, allocations: 4.875 kB / 0.8591 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.54374818992801]