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.001217/0.001217, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001357/0.001357, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.552/1.552, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2439/0.2439, allocations: 46.93 MB / 357.1 MB, free: 10.31 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.001953/0.001953, allocations: 63.89 kB / 0.4909 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.122, allocations: 65.99 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02285/0.1448, allocations: 19.84 MB / 0.5748 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.1563, allocations: 4.982 MB / 0.5796 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003722/0.16, allocations: 194.9 kB / 0.5798 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01984/0.1798, allocations: 7.836 MB / 0.5875 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008434/0.1883, allocations: 2.067 MB / 0.5895 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.1927, allocations: 1.401 MB / 0.5908 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.319/0.5117, allocations: 12.18 MB / 0.6027 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0357/0.5474, allocations: 20.25 MB / 0.6225 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01773/0.5651, allocations: 6.639 MB / 0.629 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01596/0.5811, allocations: 7.282 MB / 0.6361 GB, free: 5.367 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005963/0.5871, allocations: 1.719 MB / 0.6378 GB, free: 3.648 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007387/0.5945, allocations: 1.917 MB / 0.6397 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009602/0.6041, allocations: 4.06 MB / 0.6436 GB, free: 0 / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01584/0.6199, allocations: 7.05 MB / 0.6505 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03759/0.6575, allocations: 23.68 MB / 0.6736 GB, free: 3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.6575, allocations: 0 / 0.6736 GB, free: 3 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.6575, allocations: 0 / 0.6736 GB, free: 3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001045/0.6585, allocations: 0.8438 kB / 0.6736 GB, free: 3 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.04677/0.7053, allocations: 14.82 MB / 0.6881 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.7054, allocations: 8.031 kB / 0.6881 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006563/0.7119, allocations: 1.727 MB / 0.6898 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0624/0.7743, allocations: 11.17 MB / 0.7007 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/0.7908, allocations: 7.372 MB / 0.7079 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/0.7919, allocations: 0.8855 MB / 0.7088 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004843/0.7967, allocations: 1.172 MB / 0.7099 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04971/0.8464, allocations: 18.61 MB / 0.7281 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005416/0.847, allocations: 20.94 kB / 0.7281 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004346/0.8513, allocations: 0.4904 MB / 0.7286 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008064/0.8521, allocations: 0.6538 MB / 0.7292 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04621/0.8983, allocations: 19.14 MB / 0.7479 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1386/1.037, allocations: 60.36 MB / 0.8069 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0273/1.064, allocations: 16.11 MB / 0.8226 GB, free: 10 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009791/1.074, allocations: 4.223 MB / 0.8267 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009691/1.075, allocations: 390.9 kB / 0.8271 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/1.075, allocations: 103.7 kB / 0.8272 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 1.346e-05/1.075, allocations: 4 kB / 0.8272 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.6154/1.691, allocations: 12.45 MB / 0.8394 GB, free: 162.2 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.691, allocations: 121.7 kB / 0.8395 GB, free: 162.2 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02163/1.712, allocations: 8.61 MB / 0.8479 GB, free: 161.8 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.00148/1.714, allocations: 132.9 kB / 0.848 GB, free: 161.8 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.004792/1.719, allocations: 4.609 MB / 0.8525 GB, free: 160.6 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.003193/1.722, allocations: 2.297 MB / 0.8548 GB, free: 159.4 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003092/1.725, allocations: 1.472 MB / 0.8562 GB, free: 159.3 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/1.725, allocations: 304.2 kB / 0.8565 GB, free: 159 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006759/1.732, allocations: 4.115 MB / 0.8605 GB, free: 157.7 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008781/1.74, allocations: 6.918 MB / 0.8673 GB, free: 152.9 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01402/1.754, allocations: 11.98 MB / 0.879 GB, free: 146 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/1.755, allocations: 28.5 kB / 0.879 GB, free: 146 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0208/1.775, allocations: 12.1 MB / 0.8908 GB, free: 142 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.775, allocations: 50.31 kB / 0.8909 GB, free: 142 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001894/1.776, allocations: 94.84 kB / 0.8909 GB, free: 142 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009956/1.777, allocations: 413.7 kB / 0.8913 GB, free: 141.9 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007733/1.784, allocations: 2.018 MB / 0.8933 GB, free: 141.8 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/1.79, allocations: 9.589 MB / 0.9027 GB, free: 133.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00823/1.798, allocations: 1.381 MB / 0.904 GB, free: 132.6 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/1.8, allocations: 389.5 kB / 0.9044 GB, free: 132.5 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.009039/1.809, allocations: 4.579 MB / 0.9089 GB, free: 130.6 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001726/1.811, allocations: 0.7459 MB / 0.9096 GB, free: 130.2 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/1.827, allocations: 10.6 MB / 0.9199 GB, free: 122.5 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/1.827, allocations: 68 kB / 0.92 GB, free: 122.5 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.827, allocations: 0 / 0.92 GB, free: 122.5 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/1.827, allocations: 33.28 kB / 0.92 GB, free: 122.5 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1604/1.987, allocations: 161.4 MB / 1.078 GB, free: 7.047 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004466/1.987, allocations: 84 kB / 1.078 GB, free: 6.965 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007121/1.995, allocations: 1.554 MB / 1.079 GB, free: 5.512 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/1.996, allocations: 392 kB / 1.08 GB, free: 5.113 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001703/1.998, allocations: 255.9 kB / 1.08 GB, free: 4.863 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009339/2.007, allocations: 9.467 MB / 1.089 GB, free: 10.64 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001028/2.007, allocations: 138 kB / 1.089 GB, free: 10.54 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3254/2.332, allocations: 18.62 MB / 1.107 GB, free: 235.8 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006604/2.339, allocations: 2.065 MB / 1.11 GB, free: 235.6 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002723/2.342, allocations: 246.2 kB / 1.11 GB, free: 235.6 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006273/2.348, allocations: 0.5479 MB / 1.11 GB, free: 235.6 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001532/2.35, allocations: 0.7415 MB / 1.111 GB, free: 235.6 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007124/2.35, allocations: 322.6 kB / 1.111 GB, free: 235.6 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.01123/2.362, allocations: 6.048 MB / 1.117 GB, free: 233.9 MB / 0.7013 GB Notification: Performance of sort global known variables: time 3.91e-07/2.362, allocations: 1.953 kB / 1.117 GB, free: 233.9 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.01253/2.374, allocations: 2.646 MB / 1.12 GB, free: 233.5 MB / 0.7013 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.02554/2.4, allocations: 19.54 MB / 1.139 GB, free: 221.5 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.01667/2.416, allocations: 10.33 MB / 1.149 GB, free: 217.7 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-05/2.416, allocations: 11.91 kB / 1.149 GB, free: 217.7 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.00805/2.424, allocations: 5.289 MB / 1.154 GB, free: 215.5 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01377/2.438, allocations: 1.494 MB / 1.156 GB, free: 214.9 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1626/2.601, allocations: 99.15 MB / 1.252 GB, free: 123.1 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01432/2.615, allocations: 7.774 MB / 1.26 GB, free: 115.2 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.009334/2.624, allocations: 3.567 MB / 1.264 GB, free: 111.7 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007495/2.632, allocations: 4.205 MB / 1.268 GB, free: 107.5 MB / 0.7013 GB Notification: Performance of SimCode: time 1.153e-06/2.632, allocations: 3.938 kB / 1.268 GB, free: 107.5 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5913/3.223, allocations: 191.7 MB / 1.455 GB, free: 181 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.68/32.9, allocations: 16.11 kB / 1.455 GB, free: 180.9 MB / 0.7013 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.914503968087956]