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.0008632/0.0008632, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001007/0.001007, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.861/0.861, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2409/0.2409, allocations: 34.24 MB / 294.8 MB, free: 0.6992 MB / 266.7 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 1.192e-06/1.192e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.612e-05, allocations: 6.219 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.1842/0.1842, allocations: 16.99 MB / 459.1 MB, free: 33.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005684/0.1899, allocations: 4.852 MB / 464 MB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.1909, allocations: 197.7 kB / 464.2 MB, free: 30.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005079/0.1959, allocations: 7.674 MB / 471.9 MB, free: 26.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.1983, allocations: 2.141 MB / 474 MB, free: 24.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.1997, allocations: 1.375 MB / 475.4 MB, free: 24.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006079/0.2058, allocations: 12.62 MB / 488 MB, free: 17.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02076/0.2265, allocations: 16.77 MB / 0.4929 GB, free: 8.125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01531/0.2418, allocations: 9.737 MB / 0.5024 GB, free: 3.371 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01135/0.2532, allocations: 6.516 MB / 0.5088 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008748/0.2619, allocations: 2.09 MB / 0.5109 GB, free: 15.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008699/0.2706, allocations: 1.925 MB / 0.5127 GB, free: 13.81 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006103/0.2767, allocations: 3.74 MB / 0.5164 GB, free: 10.06 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00918/0.2859, allocations: 4.709 MB / 0.521 GB, free: 5.34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02226/0.3082, allocations: 23.9 MB / 0.5443 GB, free: 13.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3082, allocations: 3.984 kB / 0.5443 GB, free: 13.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3082, allocations: 0 / 0.5443 GB, free: 13.37 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006504/0.3089, allocations: 0 / 0.5443 GB, free: 13.37 MB / 458.7 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.03109/0.3399, allocations: 14.63 MB / 0.5586 GB, free: 14.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.34, allocations: 12.03 kB / 0.5586 GB, free: 14.63 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005092/0.3451, allocations: 1.722 MB / 0.5603 GB, free: 12.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03025/0.3753, allocations: 11.18 MB / 0.5712 GB, free: 1.695 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/0.3873, allocations: 7.506 MB / 0.5786 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006368/0.388, allocations: 0.8871 MB / 0.5794 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00371/0.3917, allocations: 1.168 MB / 0.5806 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03463/0.4263, allocations: 19.14 MB / 0.5993 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002834/0.4266, allocations: 15.91 kB / 0.5993 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002288/0.4289, allocations: 499.9 kB / 0.5997 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004181/0.4293, allocations: 0.6577 MB / 0.6004 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03212/0.4614, allocations: 19.05 MB / 0.619 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2756/0.737, allocations: 55.05 MB / 0.6728 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/0.753, allocations: 10.63 MB / 0.6831 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006023/0.759, allocations: 4.221 MB / 0.6873 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.7596, allocations: 180.2 kB / 0.6874 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.465e-05/0.7597, allocations: 107.7 kB / 0.6875 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 8.676e-06/0.7597, allocations: 0 / 0.6875 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.01704/0.7768, allocations: 12.01 MB / 0.6993 GB, free: 97.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.7768, allocations: 128 kB / 0.6994 GB, free: 97.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/0.7872, allocations: 8.73 MB / 0.7079 GB, free: 94.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/0.7882, allocations: 132.4 kB / 0.708 GB, free: 94.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002186/0.7904, allocations: 4.593 MB / 0.7125 GB, free: 90.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001841/0.7922, allocations: 2.27 MB / 0.7147 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/0.7938, allocations: 1.458 MB / 0.7162 GB, free: 88.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.219e-05/0.7938, allocations: 301.1 kB / 0.7164 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004441/0.7982, allocations: 4.113 MB / 0.7205 GB, free: 86.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006041/0.8043, allocations: 6.917 MB / 0.7272 GB, free: 81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.8156, allocations: 11.98 MB / 0.7389 GB, free: 72.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/0.8157, allocations: 24 kB / 0.7389 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01543/0.8311, allocations: 12.1 MB / 0.7508 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.8312, allocations: 47.28 kB / 0.7508 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/0.8313, allocations: 88.84 kB / 0.7509 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000644/0.832, allocations: 416.8 kB / 0.7513 GB, free: 59.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00462/0.8366, allocations: 2.016 MB / 0.7533 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.8398, allocations: 8.938 MB / 0.762 GB, free: 47.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005414/0.8453, allocations: 1.373 MB / 0.7633 GB, free: 46.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/0.8466, allocations: 383.9 kB / 0.7637 GB, free: 46.14 MB / 0.5261 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.006226/0.8528, allocations: 4.578 MB / 0.7682 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.8538, allocations: 0.7373 MB / 0.7689 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.8644, allocations: 10.61 MB / 0.7792 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/0.8645, allocations: 67.94 kB / 0.7793 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.8645, allocations: 8 kB / 0.7793 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.59e-05/0.8645, allocations: 31.88 kB / 0.7793 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.336/1.2, allocations: 151.4 MB / 0.9272 GB, free: 143.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001568/1.201, allocations: 89.19 kB / 0.9273 GB, free: 143.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003795/1.204, allocations: 1.556 MB / 0.9288 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005995/1.205, allocations: 390.1 kB / 0.9292 GB, free: 142.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001022/1.206, allocations: 255 kB / 0.9294 GB, free: 142.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/1.209, allocations: 8.807 MB / 0.938 GB, free: 133.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.015e-05/1.21, allocations: 135.4 kB / 0.9381 GB, free: 133.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/1.227, allocations: 18.47 MB / 0.9562 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004255/1.231, allocations: 2.081 MB / 0.9582 GB, free: 111.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/1.233, allocations: 243.9 kB / 0.9584 GB, free: 111.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004159/1.237, allocations: 0.5424 MB / 0.959 GB, free: 111 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.238, allocations: 0.765 MB / 0.9597 GB, free: 110.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004425/1.238, allocations: 319.9 kB / 0.96 GB, free: 109.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007985/1.246, allocations: 6.047 MB / 0.9659 GB, free: 103.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/1.246, allocations: 0 / 0.9659 GB, free: 103.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008848/1.255, allocations: 2.643 MB / 0.9685 GB, free: 101.2 MB / 0.573 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.01658/1.272, allocations: 19.38 MB / 0.9874 GB, free: 79.76 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.284, allocations: 10.32 MB / 0.9975 GB, free: 69.36 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.159e-05/1.284, allocations: 16.06 kB / 0.9975 GB, free: 69.34 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005975/1.29, allocations: 5.282 MB / 1.003 GB, free: 64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008941/1.299, allocations: 1.489 MB / 1.004 GB, free: 62.58 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3515/1.65, allocations: 99.6 MB / 1.101 GB, free: 168.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01036/1.661, allocations: 7.359 MB / 1.109 GB, free: 167.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00817/1.669, allocations: 3.561 MB / 1.112 GB, free: 167.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006718/1.675, allocations: 4.209 MB / 1.116 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.162e-06/1.675, allocations: 0 / 1.116 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3928/2.068, allocations: 195.8 MB / 1.307 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/18.85, allocations: 7.656 kB / 1.307 GB, free: 136.8 MB / 0.5886 GB " [Timeout remaining time 641] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.828402822837234]