Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001342/0.001342, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00148/0.00148, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.237/0.237, allocations: 46.93 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 59.89 kB / 0.4962 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3461, allocations: 66.03 MB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02308/0.3691, allocations: 19.87 MB / 0.5801 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.3812, allocations: 4.99 MB / 0.5849 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004303/0.3855, allocations: 202.9 kB / 0.5851 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01837/0.4039, allocations: 7.855 MB / 0.5928 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007824/0.4117, allocations: 2.113 MB / 0.5949 GB, free: 1.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004535/0.4163, allocations: 1.429 MB / 0.5963 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0177/0.434, allocations: 12.23 MB / 0.6082 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03656/0.4705, allocations: 16.87 MB / 0.6247 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01359/0.4841, allocations: 6.655 MB / 0.6312 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01344/0.4975, allocations: 7.292 MB / 0.6383 GB, free: 4.543 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005436/0.503, allocations: 1.719 MB / 0.64 GB, free: 2.824 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006868/0.5098, allocations: 1.922 MB / 0.6419 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006781/0.5166, allocations: 3.667 MB / 0.6454 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01537/0.532, allocations: 7.007 MB / 0.6523 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03295/0.5649, allocations: 23.67 MB / 0.6754 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.565, allocations: 3.938 kB / 0.6754 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.565, allocations: 0 / 0.6754 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0006854/0.5656, allocations: 4 kB / 0.6754 GB, free: 14.43 MB / 0.5137 GB 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.04492/0.6106, allocations: 14.75 MB / 0.6898 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.6106, allocations: 8.031 kB / 0.6898 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006096/0.6167, allocations: 1.726 MB / 0.6915 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05804/0.6747, allocations: 11.18 MB / 0.7024 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/0.6955, allocations: 7.487 MB / 0.7097 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001029/0.6966, allocations: 0.8871 MB / 0.7106 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005405/0.702, allocations: 1.168 MB / 0.7117 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05146/0.7534, allocations: 18.62 MB / 0.7299 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005707/0.754, allocations: 19.91 kB / 0.7299 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004063/0.7581, allocations: 492 kB / 0.7304 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008437/0.7589, allocations: 0.6577 MB / 0.731 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5382/1.297, allocations: 19.14 MB / 0.7497 GB, free: 132.1 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/1.401, allocations: 59.54 MB / 0.8079 GB, free: 81.36 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/1.418, allocations: 10.71 MB / 0.8183 GB, free: 71.16 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00649/1.425, allocations: 4.216 MB / 0.8225 GB, free: 66.92 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007924/1.426, allocations: 237.4 kB / 0.8227 GB, free: 66.73 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/1.426, allocations: 103.7 kB / 0.8228 GB, free: 66.62 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.262e-05/1.426, allocations: 0 / 0.8228 GB, free: 66.62 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02008/1.446, allocations: 12.01 MB / 0.8345 GB, free: 54.52 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.128e-05/1.446, allocations: 120.5 kB / 0.8346 GB, free: 54.38 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01507/1.461, allocations: 8.605 MB / 0.843 GB, free: 45.84 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001184/1.462, allocations: 133.7 kB / 0.8432 GB, free: 45.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003756/1.466, allocations: 4.621 MB / 0.8477 GB, free: 41.57 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002443/1.468, allocations: 2.288 MB / 0.8499 GB, free: 39.27 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004156/1.473, allocations: 1.47 MB / 0.8513 GB, free: 37.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.56e-05/1.473, allocations: 301.1 kB / 0.8516 GB, free: 37.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005864/1.479, allocations: 4.117 MB / 0.8556 GB, free: 33.38 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007431/1.486, allocations: 6.921 MB / 0.8624 GB, free: 25.19 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01431/1.5, allocations: 11.99 MB / 0.8741 GB, free: 11.84 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-05/1.5, allocations: 28 kB / 0.8741 GB, free: 11.82 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02133/1.522, allocations: 12.1 MB / 0.886 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/1.522, allocations: 46.5 kB / 0.886 GB, free: 15.57 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/1.522, allocations: 88.53 kB / 0.8861 GB, free: 15.48 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/1.523, allocations: 416.8 kB / 0.8865 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008195/1.531, allocations: 2.016 MB / 0.8884 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008695/1.54, allocations: 8.961 MB / 0.8972 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007514/1.548, allocations: 1.4 MB / 0.8986 GB, free: 1.977 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001663/1.549, allocations: 379.9 kB / 0.8989 GB, free: 1.605 MB / 0.5763 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.0107/1.56, allocations: 4.582 MB / 0.9034 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002137/1.562, allocations: 0.7374 MB / 0.9041 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0219/1.584, allocations: 10.59 MB / 0.9145 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.024e-05/1.584, allocations: 68 kB / 0.9145 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-05/1.584, allocations: 3.938 kB / 0.9145 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/1.584, allocations: 35.86 kB / 0.9146 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4578/2.042, allocations: 152.6 MB / 1.064 GB, free: 183.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002964/2.042, allocations: 84 kB / 1.064 GB, free: 183 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005675/2.048, allocations: 1.552 MB / 1.065 GB, free: 181.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009229/2.049, allocations: 388.5 kB / 1.066 GB, free: 181.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00104/2.05, allocations: 255.9 kB / 1.066 GB, free: 180.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004898/2.055, allocations: 8.848 MB / 1.074 GB, free: 171.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.267e-05/2.055, allocations: 131.4 kB / 1.075 GB, free: 171.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02258/2.078, allocations: 18.64 MB / 1.093 GB, free: 151 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005891/2.083, allocations: 2.073 MB / 1.095 GB, free: 149.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002541/2.086, allocations: 247.7 kB / 1.095 GB, free: 149 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00588/2.092, allocations: 0.5463 MB / 1.096 GB, free: 148.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001493/2.093, allocations: 0.765 MB / 1.096 GB, free: 147.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001024/2.094, allocations: 319.9 kB / 1.097 GB, free: 147.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01013/2.104, allocations: 6.047 MB / 1.103 GB, free: 141.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/2.104, allocations: 0 / 1.103 GB, free: 141.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01089/2.115, allocations: 2.648 MB / 1.105 GB, free: 138.9 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.0257/2.141, allocations: 19.53 MB / 1.124 GB, free: 117.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01678/2.158, allocations: 10.33 MB / 1.134 GB, free: 106.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.231e-05/2.158, allocations: 16 kB / 1.134 GB, free: 106.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008198/2.166, allocations: 5.29 MB / 1.139 GB, free: 101.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01367/2.18, allocations: 1.487 MB / 1.141 GB, free: 100.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1639/2.344, allocations: 99.32 MB / 1.238 GB, free: 10.39 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01608/2.36, allocations: 7.773 MB / 1.245 GB, free: 2.574 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.3011/2.661, allocations: 3.56 MB / 1.249 GB, free: 226.6 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008861/2.67, allocations: 4.206 MB / 1.253 GB, free: 226.6 MB / 0.6857 GB Notification: Performance of SimCode: time 1.252e-06/2.67, allocations: 0 / 1.253 GB, free: 226.6 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2967/2.966, allocations: 194.5 MB / 1.443 GB, free: 65.21 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.91/32.88, allocations: 0 / 1.443 GB, free: 65.21 MB / 0.6857 GB " [Timeout remaining time 627] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 39.60555325495079]