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.002217/0.002217, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002128/0.002128, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.516/1.516, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2357/0.2357, allocations: 46.92 MB / 357.8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 59.91 kB / 0.4916 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.146, allocations: 66 MB / 0.5561 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02345/0.1695, allocations: 19.82 MB / 0.5754 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.1808, allocations: 4.982 MB / 0.5803 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.1849, allocations: 195 kB / 0.5805 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01854/0.2034, allocations: 7.836 MB / 0.5881 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008495/0.2119, allocations: 2.071 MB / 0.5902 GB, free: 2.789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004762/0.2167, allocations: 1.413 MB / 0.5915 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3068/0.5235, allocations: 12.17 MB / 0.6034 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03757/0.5611, allocations: 20.25 MB / 0.6232 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01285/0.5739, allocations: 6.634 MB / 0.6297 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01481/0.5887, allocations: 7.282 MB / 0.6368 GB, free: 5.348 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005718/0.5944, allocations: 1.723 MB / 0.6385 GB, free: 3.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.6046, allocations: 1.918 MB / 0.6403 GB, free: 1.762 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01236/0.617, allocations: 4.064 MB / 0.6443 GB, free: 0 / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01617/0.6331, allocations: 7.053 MB / 0.6512 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03643/0.6696, allocations: 23.68 MB / 0.6743 GB, free: 2.996 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.6696, allocations: 4 kB / 0.6743 GB, free: 2.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.6696, allocations: 0 / 0.6743 GB, free: 2.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0011/0.6707, allocations: 0 / 0.6743 GB, free: 2.992 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.04921/0.7199, allocations: 14.82 MB / 0.6888 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.7199, allocations: 12.03 kB / 0.6888 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003551/0.7203, allocations: 320.7 kB / 0.6891 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006378/0.7267, allocations: 1.731 MB / 0.6908 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06345/0.7901, allocations: 11.17 MB / 0.7017 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01665/0.8068, allocations: 7.375 MB / 0.7089 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001214/0.808, allocations: 0.8847 MB / 0.7098 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004904/0.8129, allocations: 1.173 MB / 0.7109 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0504/0.8633, allocations: 18.6 MB / 0.7291 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000584/0.8639, allocations: 19.91 kB / 0.7291 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004713/0.8686, allocations: 497.2 kB / 0.7296 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000892/0.8695, allocations: 0.6538 MB / 0.7302 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04505/0.9145, allocations: 19.15 MB / 0.7489 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/1.044, allocations: 60.37 MB / 0.8079 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02609/1.071, allocations: 16.11 MB / 0.8236 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008661/1.079, allocations: 4.223 MB / 0.8277 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008647/1.08, allocations: 384.3 kB / 0.8281 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/1.08, allocations: 115.6 kB / 0.8282 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 1.805e-05/1.08, allocations: 0 / 0.8282 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.5928/1.673, allocations: 12.45 MB / 0.8404 GB, free: 164.4 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/1.673, allocations: 119.2 kB / 0.8405 GB, free: 164.3 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01805/1.691, allocations: 8.61 MB / 0.8489 GB, free: 164 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001375/1.693, allocations: 132.9 kB / 0.849 GB, free: 163.9 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.004034/1.697, allocations: 4.613 MB / 0.8535 GB, free: 162.8 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002546/1.699, allocations: 2.298 MB / 0.8558 GB, free: 161.6 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002633/1.702, allocations: 1.464 MB / 0.8572 GB, free: 161.5 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/1.702, allocations: 312.4 kB / 0.8575 GB, free: 161.2 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005975/1.708, allocations: 4.119 MB / 0.8615 GB, free: 159.9 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008031/1.716, allocations: 6.918 MB / 0.8683 GB, free: 155 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/1.732, allocations: 11.97 MB / 0.88 GB, free: 148.1 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001653/1.732, allocations: 32.31 kB / 0.88 GB, free: 148.1 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02196/1.754, allocations: 12.09 MB / 0.8918 GB, free: 144.2 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/1.754, allocations: 51.56 kB / 0.8919 GB, free: 144.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001981/1.754, allocations: 90.44 kB / 0.8919 GB, free: 144.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/1.755, allocations: 409.3 kB / 0.8923 GB, free: 144.1 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007594/1.763, allocations: 2.025 MB / 0.8943 GB, free: 144 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006163/1.769, allocations: 9.585 MB / 0.9037 GB, free: 135.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007782/1.777, allocations: 1.388 MB / 0.905 GB, free: 134.7 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001527/1.779, allocations: 386.1 kB / 0.9054 GB, free: 134.7 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.008066/1.787, allocations: 4.574 MB / 0.9099 GB, free: 132.6 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001967/1.789, allocations: 0.7451 MB / 0.9106 GB, free: 131.8 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0181/1.807, allocations: 10.6 MB / 0.9209 GB, free: 123 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/1.807, allocations: 75.97 kB / 0.921 GB, free: 122.9 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/1.807, allocations: 0 / 0.921 GB, free: 122.9 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.849e-05/1.807, allocations: 31.88 kB / 0.921 GB, free: 122.9 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1565/1.963, allocations: 161.4 MB / 1.079 GB, free: 6.559 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004101/1.964, allocations: 84.22 kB / 1.079 GB, free: 6.477 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006757/1.97, allocations: 1.567 MB / 1.08 GB, free: 5.012 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/1.972, allocations: 383.5 kB / 1.081 GB, free: 4.621 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001487/1.973, allocations: 259.9 kB / 1.081 GB, free: 4.367 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008802/1.982, allocations: 9.457 MB / 1.09 GB, free: 10.15 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001152/1.982, allocations: 134.5 kB / 1.09 GB, free: 10.05 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3506/2.333, allocations: 18.63 MB / 1.108 GB, free: 238.4 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006714/2.339, allocations: 2.07 MB / 1.111 GB, free: 238.1 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002858/2.342, allocations: 242.3 kB / 1.111 GB, free: 238.1 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007023/2.349, allocations: 0.5416 MB / 1.111 GB, free: 238.1 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002444/2.352, allocations: 0.7476 MB / 1.112 GB, free: 238.1 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001462/2.353, allocations: 319.6 kB / 1.112 GB, free: 238.1 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.01363/2.367, allocations: 6.052 MB / 1.118 GB, free: 236.2 MB / 0.7013 GB Notification: Performance of sort global known variables: time 2.81e-07/2.367, allocations: 0 / 1.118 GB, free: 236.2 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.01353/2.38, allocations: 2.647 MB / 1.121 GB, free: 235.8 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.03075/2.411, allocations: 19.54 MB / 1.14 GB, free: 223.8 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.01924/2.43, allocations: 10.33 MB / 1.15 GB, free: 220 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 9.374e-05/2.43, allocations: 11.91 kB / 1.15 GB, free: 220 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.008605/2.439, allocations: 5.29 MB / 1.155 GB, free: 217.8 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01515/2.454, allocations: 1.483 MB / 1.157 GB, free: 217.3 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.164/2.618, allocations: 99.16 MB / 1.253 GB, free: 122.6 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0121/2.63, allocations: 7.781 MB / 1.261 GB, free: 114.8 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.00924/2.639, allocations: 3.562 MB / 1.265 GB, free: 111.3 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007991/2.647, allocations: 4.201 MB / 1.269 GB, free: 107.1 MB / 0.7013 GB Notification: Performance of SimCode: time 1.432e-06/2.647, allocations: 4 kB / 1.269 GB, free: 107.1 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5916/3.239, allocations: 191.7 MB / 1.456 GB, free: 180.5 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.1/32.34, allocations: 10.84 kB / 1.456 GB, free: 180.5 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 657] Reference file matches [Calling sys.exit(0), Time elapsed: 42.224201192031614]