Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001539/0.001539, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002015/0.002015, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.93 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002196/0.002196, allocations: 67.89 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3523, allocations: 65.48 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02277/0.3751, allocations: 16.97 MB / 0.5735 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.389, allocations: 4.846 MB / 0.5783 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00486/0.3938, allocations: 194.9 kB / 0.5785 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01961/0.4134, allocations: 7.244 MB / 0.5855 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.424, allocations: 2.094 MB / 0.5876 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005485/0.4295, allocations: 1.378 MB / 0.5889 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01837/0.4479, allocations: 12.24 MB / 0.6009 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03365/0.4815, allocations: 16.73 MB / 0.6172 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01378/0.4953, allocations: 6.659 MB / 0.6237 GB, free: 2.793 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01464/0.51, allocations: 7.229 MB / 0.6308 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005838/0.5158, allocations: 1.723 MB / 0.6325 GB, free: 9.812 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007983/0.5238, allocations: 1.902 MB / 0.6343 GB, free: 7.914 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008015/0.5318, allocations: 3.666 MB / 0.6379 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01424/0.546, allocations: 5.486 MB / 0.6433 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03907/0.5851, allocations: 23.78 MB / 0.6665 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.5851, allocations: 0 / 0.6665 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.248e-06/0.5851, allocations: 3.938 kB / 0.6665 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001004/0.5861, allocations: 4 kB / 0.6665 GB, free: 6.863 MB / 0.4981 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.05206/0.6382, allocations: 14.74 MB / 0.6809 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/0.6383, allocations: 12.03 kB / 0.6809 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007185/0.6454, allocations: 1.726 MB / 0.6826 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0634/0.7088, allocations: 11.17 MB / 0.6935 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02437/0.7332, allocations: 7.499 MB / 0.7008 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001328/0.7345, allocations: 0.8871 MB / 0.7017 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006763/0.7413, allocations: 1.176 MB / 0.7028 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05215/0.7934, allocations: 19.14 MB / 0.7215 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006916/0.7941, allocations: 19.91 kB / 0.7216 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005299/0.7994, allocations: 0.4921 MB / 0.722 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009511/0.8004, allocations: 0.6539 MB / 0.7227 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5344/1.335, allocations: 19.04 MB / 0.7413 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09612/1.431, allocations: 55.03 MB / 0.795 GB, free: 96.18 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/1.447, allocations: 10.62 MB / 0.8054 GB, free: 86.07 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005341/1.452, allocations: 4.22 MB / 0.8095 GB, free: 81.82 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004147/1.453, allocations: 188.9 kB / 0.8097 GB, free: 81.64 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.038e-05/1.453, allocations: 111.6 kB / 0.8098 GB, free: 81.52 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.238e-06/1.453, allocations: 0 / 0.8098 GB, free: 81.52 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01706/1.47, allocations: 12 MB / 0.8215 GB, free: 69.42 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/1.47, allocations: 124.5 kB / 0.8216 GB, free: 69.28 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01441/1.484, allocations: 8.728 MB / 0.8302 GB, free: 60.66 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/1.485, allocations: 137.6 kB / 0.8303 GB, free: 60.52 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003231/1.489, allocations: 4.61 MB / 0.8348 GB, free: 56.36 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002257/1.491, allocations: 2.292 MB / 0.837 GB, free: 54.09 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002106/1.493, allocations: 1.47 MB / 0.8385 GB, free: 52.62 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.237e-05/1.493, allocations: 301.1 kB / 0.8388 GB, free: 52.32 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006016/1.499, allocations: 4.113 MB / 0.8428 GB, free: 48.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008528/1.508, allocations: 6.925 MB / 0.8495 GB, free: 40.01 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.523, allocations: 11.98 MB / 0.8612 GB, free: 26.67 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/1.523, allocations: 28 kB / 0.8613 GB, free: 26.64 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01987/1.543, allocations: 12.1 MB / 0.8731 GB, free: 14.43 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.064e-05/1.543, allocations: 44.88 kB / 0.8731 GB, free: 14.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/1.543, allocations: 92 kB / 0.8732 GB, free: 14.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009643/1.544, allocations: 408.9 kB / 0.8736 GB, free: 13.88 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007115/1.552, allocations: 2.02 MB / 0.8756 GB, free: 11.86 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/1.557, allocations: 8.941 MB / 0.8843 GB, free: 2.234 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008025/1.565, allocations: 1.385 MB / 0.8857 GB, free: 0.8398 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/1.567, allocations: 383.9 kB / 0.886 GB, free: 476 kB / 0.5607 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.01036/1.577, allocations: 4.578 MB / 0.8905 GB, free: 11.87 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002875/1.58, allocations: 0.7413 MB / 0.8912 GB, free: 11.12 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02442/1.605, allocations: 10.59 MB / 0.9016 GB, free: 436 kB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-05/1.605, allocations: 68 kB / 0.9016 GB, free: 368 kB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/1.605, allocations: 11.92 kB / 0.9016 GB, free: 356 kB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.163e-05/1.605, allocations: 31.88 kB / 0.9017 GB, free: 324 kB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4962/2.101, allocations: 151.4 MB / 1.05 GB, free: 201.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001762/2.101, allocations: 90.5 kB / 1.05 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005802/2.107, allocations: 1.559 MB / 1.051 GB, free: 199.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007745/2.108, allocations: 384.2 kB / 1.051 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008854/2.109, allocations: 259.9 kB / 1.052 GB, free: 199.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004888/2.114, allocations: 8.806 MB / 1.06 GB, free: 189.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.088e-05/2.114, allocations: 131.4 kB / 1.06 GB, free: 189.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/2.135, allocations: 18.64 MB / 1.079 GB, free: 169.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006059/2.141, allocations: 2.074 MB / 1.081 GB, free: 167.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002214/2.143, allocations: 243.9 kB / 1.081 GB, free: 167.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006107/2.149, allocations: 0.5463 MB / 1.081 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00258/2.152, allocations: 0.765 MB / 1.082 GB, free: 166.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001638/2.153, allocations: 327.9 kB / 1.083 GB, free: 165.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0158/2.169, allocations: 6.044 MB / 1.088 GB, free: 159.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.42e-07/2.169, allocations: 0 / 1.088 GB, free: 159.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01593/2.185, allocations: 2.65 MB / 1.091 GB, free: 157.4 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.03863/2.224, allocations: 19.54 MB / 1.11 GB, free: 135.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0259/2.249, allocations: 10.32 MB / 1.12 GB, free: 125.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001922/2.25, allocations: 19.94 kB / 1.12 GB, free: 125.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01446/2.264, allocations: 5.282 MB / 1.125 GB, free: 120.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01825/2.282, allocations: 1.494 MB / 1.127 GB, free: 118.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2097/2.492, allocations: 99.25 MB / 1.224 GB, free: 12.97 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0105/2.503, allocations: 7.357 MB / 1.231 GB, free: 5.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009013/2.512, allocations: 3.562 MB / 1.234 GB, free: 1.996 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008916/2.52, allocations: 4.208 MB / 1.238 GB, free: 13.82 MB / 0.6857 GB Notification: Performance of SimCode: time 2.454e-06/2.52, allocations: 0 / 1.238 GB, free: 13.82 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6301/3.151, allocations: 196.2 MB / 1.43 GB, free: 90.55 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.91/28.06, allocations: 15.94 kB / 1.43 GB, free: 90.54 MB / 0.6857 GB " [Timeout remaining time 632] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 34.87987072812393]