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.001588/0.001588, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001714/0.001714, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2421/0.2421, allocations: 46.94 MB / 360.8 MB, free: 3.941 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 83.88 kB / 0.4962 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3392, allocations: 66.08 MB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02093/0.3602, allocations: 16.98 MB / 0.5773 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.3723, allocations: 4.842 MB / 0.582 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005064/0.3774, allocations: 191 kB / 0.5822 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01907/0.3965, allocations: 7.246 MB / 0.5893 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.4065, allocations: 2.086 MB / 0.5913 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005679/0.4122, allocations: 1.379 MB / 0.5926 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01735/0.4295, allocations: 12.24 MB / 0.6046 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03339/0.4629, allocations: 16.73 MB / 0.6209 GB, free: 6 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/0.4742, allocations: 6.663 MB / 0.6274 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/0.4867, allocations: 7.225 MB / 0.6345 GB, free: 8.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004773/0.4915, allocations: 1.719 MB / 0.6362 GB, free: 6.352 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00654/0.498, allocations: 1.906 MB / 0.638 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006609/0.5046, allocations: 3.666 MB / 0.6416 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.013/0.5176, allocations: 5.486 MB / 0.647 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03107/0.5487, allocations: 23.78 MB / 0.6702 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5487, allocations: 0 / 0.6702 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.268e-06/0.5487, allocations: 3.984 kB / 0.6702 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000725/0.5495, allocations: 0 / 0.6702 GB, free: 3.398 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.04449/0.5939, allocations: 14.75 MB / 0.6846 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.594, allocations: 8.031 kB / 0.6846 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006658/0.6007, allocations: 1.718 MB / 0.6863 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06393/0.6646, allocations: 11.18 MB / 0.6972 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/0.6855, allocations: 7.502 MB / 0.7045 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001168/0.6867, allocations: 0.8872 MB / 0.7054 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004971/0.6916, allocations: 1.168 MB / 0.7065 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04772/0.7394, allocations: 19.15 MB / 0.7252 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005948/0.74, allocations: 15.91 kB / 0.7253 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004153/0.7441, allocations: 500 kB / 0.7257 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007887/0.7449, allocations: 0.6577 MB / 0.7264 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5351/1.28, allocations: 19.05 MB / 0.745 GB, free: 134.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09037/1.37, allocations: 55.04 MB / 0.7987 GB, free: 89.66 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/1.386, allocations: 10.64 MB / 0.8091 GB, free: 79.54 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005941/1.392, allocations: 4.216 MB / 0.8132 GB, free: 75.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004801/1.393, allocations: 188.9 kB / 0.8134 GB, free: 75.11 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.632e-05/1.393, allocations: 103.7 kB / 0.8135 GB, free: 75 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.107e-06/1.393, allocations: 0 / 0.8135 GB, free: 75 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01695/1.41, allocations: 12.01 MB / 0.8252 GB, free: 62.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/1.41, allocations: 124.5 kB / 0.8254 GB, free: 62.76 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/1.423, allocations: 8.728 MB / 0.8339 GB, free: 54.14 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001511/1.424, allocations: 129.7 kB / 0.834 GB, free: 54 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002786/1.427, allocations: 4.61 MB / 0.8385 GB, free: 49.84 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002083/1.429, allocations: 2.292 MB / 0.8407 GB, free: 47.58 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002037/1.431, allocations: 1.47 MB / 0.8422 GB, free: 46.11 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.208e-05/1.431, allocations: 305.1 kB / 0.8425 GB, free: 45.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004985/1.436, allocations: 4.109 MB / 0.8465 GB, free: 41.69 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006323/1.442, allocations: 6.921 MB / 0.8532 GB, free: 33.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/1.456, allocations: 11.99 MB / 0.865 GB, free: 20.16 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/1.456, allocations: 28 kB / 0.865 GB, free: 20.13 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02058/1.476, allocations: 12.1 MB / 0.8768 GB, free: 7.926 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-05/1.476, allocations: 47.22 kB / 0.8768 GB, free: 7.883 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.476, allocations: 92 kB / 0.8769 GB, free: 7.793 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009832/1.477, allocations: 420.8 kB / 0.8773 GB, free: 7.363 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007387/1.485, allocations: 2.016 MB / 0.8793 GB, free: 5.344 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007313/1.492, allocations: 8.928 MB / 0.888 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009301/1.501, allocations: 1.389 MB / 0.8894 GB, free: 10.33 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/1.503, allocations: 387.9 kB / 0.8897 GB, free: 9.953 MB / 0.5763 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.009893/1.513, allocations: 4.574 MB / 0.8942 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/1.515, allocations: 0.7413 MB / 0.8949 GB, free: 4.617 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01982/1.535, allocations: 10.59 MB / 0.9053 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.318e-05/1.535, allocations: 71.94 kB / 0.9053 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.535, allocations: 7.938 kB / 0.9054 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.927e-05/1.535, allocations: 35.86 kB / 0.9054 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4858/2.021, allocations: 151.4 MB / 1.053 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001265/2.021, allocations: 84 kB / 1.053 GB, free: 191.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004997/2.026, allocations: 1.56 MB / 1.055 GB, free: 190.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006863/2.027, allocations: 384.7 kB / 1.055 GB, free: 190 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005064/2.027, allocations: 255.9 kB / 1.055 GB, free: 189.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004671/2.032, allocations: 8.817 MB / 1.064 GB, free: 180.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-05/2.032, allocations: 139.4 kB / 1.064 GB, free: 180.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/2.051, allocations: 18.64 MB / 1.082 GB, free: 160 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005167/2.056, allocations: 2.071 MB / 1.084 GB, free: 158.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/2.057, allocations: 243.9 kB / 1.085 GB, free: 158 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005068/2.063, allocations: 0.5463 MB / 1.085 GB, free: 157.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009342/2.063, allocations: 0.765 MB / 1.086 GB, free: 156.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006045/2.064, allocations: 323.9 kB / 1.086 GB, free: 156.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008102/2.072, allocations: 6.047 MB / 1.092 GB, free: 150.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/2.072, allocations: 0 / 1.092 GB, free: 150.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009992/2.082, allocations: 2.644 MB / 1.095 GB, free: 147.8 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.02197/2.104, allocations: 19.54 MB / 1.114 GB, free: 126.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01402/2.118, allocations: 10.33 MB / 1.124 GB, free: 115.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.983e-05/2.118, allocations: 12 kB / 1.124 GB, free: 115.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007223/2.126, allocations: 5.29 MB / 1.129 GB, free: 110.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009628/2.135, allocations: 1.486 MB / 1.131 GB, free: 109 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1313/2.266, allocations: 99.24 MB / 1.227 GB, free: 3.418 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01135/2.278, allocations: 7.361 MB / 1.235 GB, free: 12.02 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01131/2.289, allocations: 3.566 MB / 1.238 GB, free: 8.438 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01016/2.299, allocations: 4.201 MB / 1.242 GB, free: 4.234 MB / 0.6857 GB Notification: Performance of SimCode: time 1.323e-06/2.299, allocations: 0 / 1.242 GB, free: 4.234 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5351/2.834, allocations: 196.2 MB / 1.434 GB, free: 77.69 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.51/26.34, allocations: 4 kB / 1.434 GB, free: 77.68 MB / 0.6857 GB " [Timeout remaining time 633] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 33.04570274287835]