Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.002171/0.002171, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001604/0.001604, allocations: 215.5 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2466/0.2466, allocations: 44.27 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002267/0.002267, allocations: 71.89 kB / 468.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1495, allocations: 61.05 MB / 0.5169 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.0234/0.1729, allocations: 17.08 MB / 0.5336 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.1882, allocations: 4.818 MB / 0.5383 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006778/0.195, allocations: 167.1 kB / 0.5385 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3246/0.5196, allocations: 7.253 MB / 0.5455 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00839/0.528, allocations: 2.184 MB / 0.5477 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.5329, allocations: 1.385 MB / 0.549 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01888/0.5517, allocations: 12.42 MB / 0.5612 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0345/0.5862, allocations: 16.92 MB / 0.5777 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01637/0.6026, allocations: 6.749 MB / 0.5843 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01722/0.6198, allocations: 7.413 MB / 0.5915 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006495/0.6263, allocations: 1.735 MB / 0.5932 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.6371, allocations: 1.923 MB / 0.5951 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008926/0.6461, allocations: 3.74 MB / 0.5987 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01501/0.6611, allocations: 5.572 MB / 0.6042 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03287/0.6939, allocations: 23.85 MB / 0.6275 GB, free: 1.207 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.6939, allocations: 3.984 kB / 0.6275 GB, free: 1.203 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.694, allocations: 0 / 0.6275 GB, free: 1.203 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008891/0.6948, allocations: 3.938 kB / 0.6275 GB, free: 1.199 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05046/0.7453, allocations: 14.98 MB / 0.6421 GB, free: 2.234 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.038e-05/0.7454, allocations: 12.03 kB / 0.6421 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005369/0.7459, allocations: 333.1 kB / 0.6424 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007068/0.753, allocations: 1.755 MB / 0.6442 GB, free: 148 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06714/0.8201, allocations: 12.48 MB / 0.6563 GB, free: 3.785 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01611/0.8362, allocations: 6.765 MB / 0.663 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/0.8373, allocations: 0.9079 MB / 0.6638 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004897/0.8422, allocations: 1.194 MB / 0.665 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05331/0.8955, allocations: 19.58 MB / 0.6841 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004645/0.8959, allocations: 23.89 kB / 0.6841 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004318/0.9003, allocations: 0.4892 MB / 0.6846 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007862/0.901, allocations: 0.6856 MB / 0.6853 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04391/0.945, allocations: 19.84 MB / 0.7047 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1259/1.071, allocations: 56.08 MB / 0.7594 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5401/1.611, allocations: 11.45 MB / 0.7706 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008975/1.62, allocations: 4.3 MB / 0.7748 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/1.621, allocations: 143.3 kB / 0.775 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.763e-05/1.621, allocations: 108.5 kB / 0.7751 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 1.062e-05/1.621, allocations: 0 / 0.7751 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02372/1.644, allocations: 12.13 MB / 0.7869 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.644, allocations: 120 kB / 0.787 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01946/1.664, allocations: 8.722 MB / 0.7955 GB, free: 150.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001472/1.665, allocations: 137.6 kB / 0.7957 GB, free: 150.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003683/1.669, allocations: 4.728 MB / 0.8003 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002311/1.671, allocations: 2.377 MB / 0.8026 GB, free: 145.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002334/1.674, allocations: 1.514 MB / 0.8041 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.176e-05/1.674, allocations: 301.1 kB / 0.8044 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006133/1.68, allocations: 4.197 MB / 0.8085 GB, free: 143.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006997/1.687, allocations: 7.228 MB / 0.8155 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/1.7, allocations: 12.4 MB / 0.8276 GB, free: 131.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002443/1.7, allocations: 30.22 kB / 0.8277 GB, free: 131.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02249/1.723, allocations: 12.44 MB / 0.8398 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.723, allocations: 50.59 kB / 0.8399 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002773/1.723, allocations: 98.44 kB / 0.84 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009104/1.724, allocations: 424.2 kB / 0.8404 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007179/1.731, allocations: 2.098 MB / 0.8424 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00658/1.738, allocations: 8.959 MB / 0.8512 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008721/1.747, allocations: 1.438 MB / 0.8526 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001762/1.748, allocations: 396 kB / 0.8529 GB, free: 114 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.008145/1.757, allocations: 4.657 MB / 0.8575 GB, free: 109.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/1.758, allocations: 0.7529 MB / 0.8582 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/1.772, allocations: 11.04 MB / 0.869 GB, free: 97.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/1.772, allocations: 68 kB / 0.8691 GB, free: 97.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.772, allocations: 7.75 kB / 0.8691 GB, free: 97.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-05/1.772, allocations: 41.28 kB / 0.8691 GB, free: 97.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4029/2.175, allocations: 153.5 MB / 1.019 GB, free: 203 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002468/2.175, allocations: 86.84 kB / 1.019 GB, free: 203 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006282/2.181, allocations: 1.573 MB / 1.021 GB, free: 202.9 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009505/2.182, allocations: 387.5 kB / 1.021 GB, free: 202.8 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009261/2.183, allocations: 248.2 kB / 1.021 GB, free: 202.8 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005518/2.189, allocations: 8.826 MB / 1.03 GB, free: 195.5 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001058/2.189, allocations: 136.6 kB / 1.03 GB, free: 195.5 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02944/2.218, allocations: 18.89 MB / 1.048 GB, free: 185.4 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005963/2.224, allocations: 2.083 MB / 1.05 GB, free: 184.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002194/2.226, allocations: 250.5 kB / 1.051 GB, free: 184.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005715/2.232, allocations: 0.5539 MB / 1.051 GB, free: 184.6 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/2.233, allocations: 0.7724 MB / 1.052 GB, free: 184.3 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004886/2.234, allocations: 311.7 kB / 1.052 GB, free: 184.3 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.008345/2.242, allocations: 6.119 MB / 1.058 GB, free: 182.2 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.41e-07/2.242, allocations: 0 / 1.058 GB, free: 182.2 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009326/2.252, allocations: 2.705 MB / 1.061 GB, free: 181.7 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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.02318/2.275, allocations: 19.8 MB / 1.08 GB, free: 169.6 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01376/2.288, allocations: 10.52 MB / 1.091 GB, free: 163.3 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 0.0001042/2.289, allocations: 16.12 kB / 1.091 GB, free: 163.3 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.007429/2.296, allocations: 5.34 MB / 1.096 GB, free: 158.7 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01199/2.308, allocations: 1.504 MB / 1.097 GB, free: 157.4 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1575/2.466, allocations: 101.7 MB / 1.197 GB, free: 50.87 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/2.476, allocations: 7.464 MB / 1.204 GB, free: 43.36 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.009454/2.485, allocations: 3.651 MB / 1.207 GB, free: 39.71 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008265/2.494, allocations: 4.233 MB / 1.212 GB, free: 35.48 MB / 0.6388 GB Notification: Performance of SimCode: time 2.445e-06/2.494, allocations: 0 / 1.212 GB, free: 35.48 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5719/3.066, allocations: 195.8 MB / 1.403 GB, free: 121.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.25/34.32, allocations: 15.92 kB / 1.403 GB, free: 121.7 MB / 0.6544 GB " [Timeout remaining time 625] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 44.955177656025626]