Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001794/0.001794, allocations: 116.9 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001916/0.001916, allocations: 212.7 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 230.4 MB / 254.7 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.93 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 79.88 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1192, allocations: 66.04 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02221/0.1414, allocations: 19.83 MB / 0.5755 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1525, allocations: 4.99 MB / 0.5804 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004546/0.157, allocations: 191 kB / 0.5806 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01902/0.176, allocations: 7.834 MB / 0.5882 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008424/0.1844, allocations: 2.074 MB / 0.5902 GB, free: 2.477 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004845/0.1893, allocations: 1.407 MB / 0.5916 GB, free: 1.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2811/0.4704, allocations: 12.17 MB / 0.6035 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03438/0.5048, allocations: 20.25 MB / 0.6233 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01334/0.5182, allocations: 6.64 MB / 0.6298 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01326/0.5314, allocations: 7.285 MB / 0.6369 GB, free: 5.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005815/0.5372, allocations: 1.719 MB / 0.6386 GB, free: 3.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008867/0.5461, allocations: 1.915 MB / 0.6404 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01172/0.5578, allocations: 4.122 MB / 0.6445 GB, free: 0 / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01619/0.574, allocations: 7.054 MB / 0.6513 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03234/0.6063, allocations: 23.68 MB / 0.6745 GB, free: 2.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.6064, allocations: 4 kB / 0.6745 GB, free: 2.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6064, allocations: 0 / 0.6745 GB, free: 2.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007708/0.6071, allocations: 0.8438 kB / 0.6745 GB, free: 2.906 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.04772/0.6548, allocations: 14.83 MB / 0.6889 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.6549, allocations: 8.031 kB / 0.689 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004246/0.6553, allocations: 328.7 kB / 0.6893 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006709/0.662, allocations: 1.725 MB / 0.691 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06172/0.7238, allocations: 11.17 MB / 0.7019 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/0.7416, allocations: 7.37 MB / 0.7091 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00122/0.7428, allocations: 0.8847 MB / 0.7099 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004957/0.7478, allocations: 1.173 MB / 0.7111 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04904/0.7968, allocations: 18.61 MB / 0.7292 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005706/0.7974, allocations: 19.91 kB / 0.7293 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003787/0.8011, allocations: 494.3 kB / 0.7297 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007823/0.8019, allocations: 0.6577 MB / 0.7304 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04142/0.8434, allocations: 19.14 MB / 0.7491 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1235/0.9668, allocations: 60.37 MB / 0.808 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02444/0.9913, allocations: 16.11 MB / 0.8238 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008359/0.9996, allocations: 4.223 MB / 0.8279 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008517/1, allocations: 384.8 kB / 0.8282 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/1.001, allocations: 107.7 kB / 0.8284 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 1.466e-05/1.001, allocations: 0 / 0.8284 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.5318/1.532, allocations: 12.45 MB / 0.8405 GB, free: 165.4 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.533, allocations: 123.2 kB / 0.8406 GB, free: 165.4 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01409/1.547, allocations: 8.613 MB / 0.849 GB, free: 165 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001275/1.548, allocations: 131.3 kB / 0.8492 GB, free: 165 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003406/1.551, allocations: 4.614 MB / 0.8537 GB, free: 163.8 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/1.554, allocations: 2.292 MB / 0.8559 GB, free: 162.6 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002387/1.556, allocations: 1.471 MB / 0.8574 GB, free: 162.4 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 3.906e-05/1.556, allocations: 301.7 kB / 0.8576 GB, free: 162.1 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005853/1.562, allocations: 4.122 MB / 0.8617 GB, free: 160.8 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00728/1.569, allocations: 6.92 MB / 0.8684 GB, free: 156 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/1.583, allocations: 11.98 MB / 0.8801 GB, free: 149.1 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/1.583, allocations: 27.34 kB / 0.8801 GB, free: 149.1 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02002/1.603, allocations: 12.09 MB / 0.892 GB, free: 145.1 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/1.603, allocations: 42.66 kB / 0.892 GB, free: 145.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/1.603, allocations: 91.03 kB / 0.8921 GB, free: 145.1 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000979/1.604, allocations: 420.3 kB / 0.8925 GB, free: 145 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007432/1.612, allocations: 2.016 MB / 0.8945 GB, free: 144.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005208/1.617, allocations: 9.591 MB / 0.9038 GB, free: 136.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006746/1.624, allocations: 1.38 MB / 0.9052 GB, free: 135.7 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/1.625, allocations: 384 kB / 0.9055 GB, free: 135.6 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.006819/1.632, allocations: 4.583 MB / 0.91 GB, free: 133.1 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/1.633, allocations: 0.7433 MB / 0.9107 GB, free: 132.3 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.647, allocations: 10.6 MB / 0.9211 GB, free: 123.1 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-05/1.647, allocations: 64 kB / 0.9211 GB, free: 123 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/1.647, allocations: 4 kB / 0.9211 GB, free: 123 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/1.648, allocations: 35.34 kB / 0.9212 GB, free: 123 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1632/1.811, allocations: 161.4 MB / 1.079 GB, free: 6.668 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004259/1.811, allocations: 84 kB / 1.079 GB, free: 6.586 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00683/1.818, allocations: 1.554 MB / 1.08 GB, free: 5.133 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/1.819, allocations: 388.1 kB / 1.081 GB, free: 4.738 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001491/1.821, allocations: 255.9 kB / 1.081 GB, free: 4.488 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008937/1.83, allocations: 9.463 MB / 1.09 GB, free: 10.27 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001346/1.83, allocations: 137 kB / 1.09 GB, free: 10.17 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3328/2.163, allocations: 18.63 MB / 1.109 GB, free: 238.4 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005474/2.168, allocations: 2.062 MB / 1.111 GB, free: 238.1 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002438/2.171, allocations: 248.3 kB / 1.111 GB, free: 238.1 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006504/2.177, allocations: 0.5455 MB / 1.111 GB, free: 238.1 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002154/2.179, allocations: 0.7417 MB / 1.112 GB, free: 238.1 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009971/2.18, allocations: 319.4 kB / 1.112 GB, free: 238.1 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.01396/2.194, allocations: 6.054 MB / 1.118 GB, free: 236.4 MB / 0.7013 GB Notification: Performance of sort global known variables: time 4.01e-07/2.194, allocations: 1.281 kB / 1.118 GB, free: 236.4 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.01062/2.205, allocations: 2.645 MB / 1.121 GB, free: 235.9 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.02163/2.226, allocations: 19.54 MB / 1.14 GB, free: 223.9 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.01417/2.241, allocations: 10.33 MB / 1.15 GB, free: 220.1 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 7.298e-05/2.241, allocations: 15.38 kB / 1.15 GB, free: 220.1 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.008143/2.249, allocations: 5.285 MB / 1.155 GB, free: 217.9 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01321/2.262, allocations: 1.501 MB / 1.157 GB, free: 217.4 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.16/2.422, allocations: 99.15 MB / 1.254 GB, free: 122.6 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01535/2.437, allocations: 7.777 MB / 1.261 GB, free: 114.8 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.009208/2.447, allocations: 3.559 MB / 1.265 GB, free: 111.3 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007142/2.454, allocations: 4.201 MB / 1.269 GB, free: 107.1 MB / 0.7013 GB Notification: Performance of SimCode: time 1.352e-06/2.454, allocations: 3.938 kB / 1.269 GB, free: 107.1 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5353/2.989, allocations: 191.7 MB / 1.456 GB, free: 180.4 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.39/30.38, allocations: 11.69 kB / 1.456 GB, free: 180.4 MB / 0.7013 GB " [Timeout remaining time 629] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 39.62828375498066]