Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 114.3 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002398/0.002398, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.281/0.281, allocations: 44.91 MB / 355.8 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003291/0.003291, allocations: 67.91 kB / 0.4885 GB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1658, allocations: 65.43 MB / 0.5524 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02519/0.191, allocations: 19.84 MB / 0.5718 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.2057, allocations: 4.993 MB / 0.5767 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005551/0.2113, allocations: 191 kB / 0.5769 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02113/0.2324, allocations: 7.832 MB / 0.5845 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01162/0.244, allocations: 2.075 MB / 0.5865 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005393/0.2494, allocations: 1.409 MB / 0.5879 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3742/0.6236, allocations: 12.17 MB / 0.5998 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03679/0.6604, allocations: 20.33 MB / 0.6197 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01208/0.6725, allocations: 6.639 MB / 0.6261 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01387/0.6864, allocations: 7.282 MB / 0.6333 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006592/0.693, allocations: 1.722 MB / 0.6349 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008485/0.7014, allocations: 1.921 MB / 0.6368 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009121/0.7106, allocations: 3.656 MB / 0.6404 GB, free: 2.879 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02384/0.7344, allocations: 7.929 MB / 0.6481 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03564/0.77, allocations: 23.68 MB / 0.6713 GB, free: 7.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.7701, allocations: 8 kB / 0.6713 GB, free: 7.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7701, allocations: 0 / 0.6713 GB, free: 7.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008279/0.7709, allocations: 0 / 0.6713 GB, free: 7.598 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.05285/0.8237, allocations: 14.82 MB / 0.6857 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.8238, allocations: 8.031 kB / 0.6857 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000427/0.8242, allocations: 324.7 kB / 0.6861 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008349/0.8326, allocations: 1.723 MB / 0.6877 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0639/0.8965, allocations: 11.17 MB / 0.6986 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01869/0.9152, allocations: 7.37 MB / 0.7058 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001354/0.9165, allocations: 0.8938 MB / 0.7067 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006454/0.923, allocations: 1.167 MB / 0.7079 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05781/0.9808, allocations: 18.61 MB / 0.726 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001001/0.9818, allocations: 19.89 kB / 0.7261 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006324/0.9881, allocations: 495.6 kB / 0.7265 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001002/0.9891, allocations: 0.6499 MB / 0.7272 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04723/1.036, allocations: 19.14 MB / 0.7458 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1365/1.173, allocations: 60.38 MB / 0.8048 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02684/1.2, allocations: 16.11 MB / 0.8205 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008911/1.209, allocations: 4.216 MB / 0.8247 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009345/1.21, allocations: 392.4 kB / 0.825 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/1.21, allocations: 111.3 kB / 0.8251 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 1.576e-05/1.21, allocations: 0 / 0.8251 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.633/1.843, allocations: 12.45 MB / 0.8373 GB, free: 200.3 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/1.843, allocations: 123.3 kB / 0.8374 GB, free: 200.2 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02203/1.865, allocations: 8.607 MB / 0.8458 GB, free: 198.9 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001634/1.867, allocations: 135.5 kB / 0.846 GB, free: 198.8 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.006776/1.873, allocations: 4.61 MB / 0.8505 GB, free: 196.5 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.003485/1.877, allocations: 2.295 MB / 0.8527 GB, free: 194.9 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006504/1.883, allocations: 1.468 MB / 0.8541 GB, free: 194.3 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 5.526e-05/1.883, allocations: 301.7 kB / 0.8544 GB, free: 194 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007516/1.891, allocations: 4.119 MB / 0.8584 GB, free: 192.7 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009126/1.9, allocations: 6.921 MB / 0.8652 GB, free: 187.8 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/1.917, allocations: 11.98 MB / 0.8769 GB, free: 180.6 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/1.917, allocations: 25.28 kB / 0.8769 GB, free: 180.6 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02752/1.944, allocations: 12.11 MB / 0.8887 GB, free: 176 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/1.945, allocations: 43.53 kB / 0.8888 GB, free: 176 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000249/1.945, allocations: 90.47 kB / 0.8889 GB, free: 176 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/1.946, allocations: 411.1 kB / 0.8893 GB, free: 175.9 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008495/1.955, allocations: 2.022 MB / 0.8912 GB, free: 175.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00607/1.961, allocations: 9.588 MB / 0.9006 GB, free: 166.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008488/1.969, allocations: 1.379 MB / 0.9019 GB, free: 166.4 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002085/1.971, allocations: 390.3 kB / 0.9023 GB, free: 166.3 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01075/1.982, allocations: 4.579 MB / 0.9068 GB, free: 163.2 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002555/1.985, allocations: 0.7427 MB / 0.9075 GB, free: 162.5 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02387/2.008, allocations: 10.6 MB / 0.9179 GB, free: 151.8 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.106e-05/2.008, allocations: 65.53 kB / 0.9179 GB, free: 151.8 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.012e-05/2.009, allocations: 7.984 kB / 0.9179 GB, free: 151.7 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001394/2.009, allocations: 35.81 kB / 0.918 GB, free: 151.7 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1529/2.162, allocations: 161.4 MB / 1.076 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004113/2.162, allocations: 89.62 kB / 1.076 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007043/2.169, allocations: 1.56 MB / 1.077 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/2.17, allocations: 384.8 kB / 1.078 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001831/2.172, allocations: 259.9 kB / 1.078 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009546/2.182, allocations: 9.446 MB / 1.087 GB, free: 6.215 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001304/2.182, allocations: 135.6 kB / 1.087 GB, free: 6.082 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3858/2.568, allocations: 18.64 MB / 1.105 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006741/2.574, allocations: 2.069 MB / 1.107 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002792/2.577, allocations: 247.6 kB / 1.108 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00765/2.585, allocations: 0.5447 MB / 1.108 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002215/2.587, allocations: 0.7428 MB / 1.109 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001054/2.588, allocations: 321.7 kB / 1.109 GB, free: 206.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01187/2.6, allocations: 6.049 MB / 1.115 GB, free: 204.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/2.6, allocations: 0 / 1.115 GB, free: 204.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01069/2.611, allocations: 2.645 MB / 1.118 GB, free: 204.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02234/2.633, allocations: 19.54 MB / 1.137 GB, free: 192.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01641/2.649, allocations: 10.33 MB / 1.147 GB, free: 188.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.874e-05/2.649, allocations: 11.81 kB / 1.147 GB, free: 188.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008212/2.658, allocations: 5.287 MB / 1.152 GB, free: 186.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01211/2.67, allocations: 1.498 MB / 1.154 GB, free: 185.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1686/2.838, allocations: 99.15 MB / 1.25 GB, free: 86.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008444/2.847, allocations: 7.785 MB / 1.258 GB, free: 78.56 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009183/2.856, allocations: 3.562 MB / 1.261 GB, free: 74.99 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01025/2.866, allocations: 4.201 MB / 1.266 GB, free: 70.79 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/2.866, allocations: 0 / 1.266 GB, free: 70.79 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6338/3.5, allocations: 191.7 MB / 1.453 GB, free: 161.3 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.55/33.05, allocations: 12.16 kB / 1.453 GB, free: 161.3 MB / 0.6857 GB " [Timeout remaining time 627] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 43.27598626201507]