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.0008974/0.0008974, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001007/0.001007, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9012/0.9012, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2383/0.2383, allocations: 34.24 MB / 294.9 MB, free: 0.7109 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.667e-05, allocations: 4.25 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.1791/0.1791, allocations: 17 MB / 459.2 MB, free: 33.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.1848, allocations: 4.843 MB / 464 MB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.1859, allocations: 190.9 kB / 464.2 MB, free: 30.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00509/0.191, allocations: 7.687 MB / 471.9 MB, free: 26.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.1935, allocations: 2.14 MB / 474 MB, free: 24.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1949, allocations: 1.373 MB / 475.4 MB, free: 24.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006028/0.2009, allocations: 12.62 MB / 488 MB, free: 17.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01466/0.2155, allocations: 16.77 MB / 0.493 GB, free: 8.203 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.2268, allocations: 9.743 MB / 0.5025 GB, free: 3.441 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007228/0.2341, allocations: 6.516 MB / 0.5088 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005369/0.2394, allocations: 2.09 MB / 0.5109 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.2429, allocations: 1.921 MB / 0.5128 GB, free: 13.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.2452, allocations: 3.732 MB / 0.5164 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009681/0.2549, allocations: 4.717 MB / 0.521 GB, free: 5.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02211/0.277, allocations: 23.88 MB / 0.5443 GB, free: 13.46 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.277, allocations: 7.984 kB / 0.5443 GB, free: 13.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.277, allocations: 0 / 0.5443 GB, free: 13.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007258/0.2777, allocations: 4 kB / 0.5443 GB, free: 13.45 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.03232/0.31, allocations: 14.64 MB / 0.5586 GB, free: 14.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.3101, allocations: 8.031 kB / 0.5586 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005184/0.3153, allocations: 1.722 MB / 0.5603 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03129/0.3466, allocations: 11.17 MB / 0.5712 GB, free: 1.777 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/0.36, allocations: 7.506 MB / 0.5786 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008802/0.3609, allocations: 0.8832 MB / 0.5794 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004923/0.3658, allocations: 1.168 MB / 0.5806 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03739/0.4032, allocations: 19.15 MB / 0.5993 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003448/0.4035, allocations: 23.84 kB / 0.5993 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002886/0.4064, allocations: 492 kB / 0.5998 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004573/0.4069, allocations: 0.6577 MB / 0.6004 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03344/0.4403, allocations: 19.04 MB / 0.619 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4315/0.8718, allocations: 55.06 MB / 0.6728 GB, free: 104.5 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01641/0.8882, allocations: 10.63 MB / 0.6832 GB, free: 100.5 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005877/0.8941, allocations: 4.222 MB / 0.6873 GB, free: 99.11 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/0.8946, allocations: 180.2 kB / 0.6875 GB, free: 99.09 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.62e-05/0.8947, allocations: 108.4 kB / 0.6876 GB, free: 98.99 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=653): time 9.127e-06/0.8947, allocations: 0 / 0.6876 GB, free: 98.99 MB / 0.5262 GB Notification: Performance of matching and sorting (n=653): time 0.01849/0.9132, allocations: 12.01 MB / 0.6993 GB, free: 94.89 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.9133, allocations: 128 kB / 0.6994 GB, free: 94.82 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/0.9233, allocations: 8.727 MB / 0.7079 GB, free: 91.99 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001096/0.9244, allocations: 132 kB / 0.7081 GB, free: 91.88 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002116/0.9265, allocations: 4.599 MB / 0.7125 GB, free: 88.89 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002071/0.9286, allocations: 2.264 MB / 0.7148 GB, free: 87.38 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001681/0.9303, allocations: 1.458 MB / 0.7162 GB, free: 86.72 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.114e-05/0.9303, allocations: 305.1 kB / 0.7165 GB, free: 86.42 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004139/0.9344, allocations: 4.114 MB / 0.7205 GB, free: 85.11 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005406/0.9398, allocations: 6.92 MB / 0.7272 GB, free: 79.55 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.9507, allocations: 11.98 MB / 0.7389 GB, free: 70.48 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-05/0.9508, allocations: 31.94 kB / 0.739 GB, free: 70.45 MB / 0.5262 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01554/0.9663, allocations: 12.1 MB / 0.7508 GB, free: 58.25 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.175e-05/0.9664, allocations: 44.91 kB / 0.7508 GB, free: 58.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/0.9665, allocations: 92 kB / 0.7509 GB, free: 58.11 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/0.9671, allocations: 412.8 kB / 0.7513 GB, free: 57.69 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004656/0.9718, allocations: 2.016 MB / 0.7533 GB, free: 55.67 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.9752, allocations: 8.928 MB / 0.762 GB, free: 46.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005769/0.981, allocations: 1.375 MB / 0.7633 GB, free: 44.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/0.9825, allocations: 387.9 kB / 0.7637 GB, free: 44.42 MB / 0.5262 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.006919/0.9894, allocations: 4.582 MB / 0.7682 GB, free: 39.82 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/0.9905, allocations: 0.7374 MB / 0.7689 GB, free: 39.08 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/1.003, allocations: 10.61 MB / 0.7793 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/1.003, allocations: 72 kB / 0.7793 GB, free: 28.29 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.003, allocations: 0 / 0.7793 GB, free: 28.29 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-05/1.003, allocations: 39.81 kB / 0.7794 GB, free: 28.25 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3503/1.353, allocations: 151.4 MB / 0.9272 GB, free: 140.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001281/1.353, allocations: 84 kB / 0.9273 GB, free: 140.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003449/1.357, allocations: 1.558 MB / 0.9288 GB, free: 139.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006596/1.357, allocations: 378.3 kB / 0.9292 GB, free: 138.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007646/1.358, allocations: 259.2 kB / 0.9294 GB, free: 138.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003534/1.362, allocations: 8.801 MB / 0.938 GB, free: 129.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.081e-05/1.362, allocations: 139.4 kB / 0.9382 GB, free: 129.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/1.378, allocations: 18.47 MB / 0.9562 GB, free: 109.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00423/1.382, allocations: 2.078 MB / 0.9582 GB, free: 107.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/1.383, allocations: 246.9 kB / 0.9585 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002815/1.386, allocations: 0.5424 MB / 0.959 GB, free: 106.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006927/1.386, allocations: 0.7679 MB / 0.9597 GB, free: 105.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003293/1.387, allocations: 319.9 kB / 0.96 GB, free: 105.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006211/1.393, allocations: 6.047 MB / 0.9659 GB, free: 99.35 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/1.393, allocations: 0 / 0.9659 GB, free: 99.35 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006809/1.4, allocations: 2.642 MB / 0.9685 GB, free: 96.9 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.01311/1.413, allocations: 19.38 MB / 0.9874 GB, free: 75.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009543/1.422, allocations: 10.33 MB / 0.9975 GB, free: 65.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.098e-05/1.422, allocations: 12 kB / 0.9975 GB, free: 65.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004249/1.427, allocations: 5.291 MB / 1.003 GB, free: 59.74 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005362/1.432, allocations: 1.485 MB / 1.004 GB, free: 58.32 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3154/1.747, allocations: 99.6 MB / 1.101 GB, free: 158.5 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009062/1.756, allocations: 7.356 MB / 1.109 GB, free: 156.3 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.007082/1.763, allocations: 3.562 MB / 1.112 GB, free: 156.1 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004625/1.768, allocations: 4.205 MB / 1.116 GB, free: 152.7 MB / 0.5887 GB Notification: Performance of SimCode: time 1.923e-06/1.768, allocations: 1.562 kB / 1.116 GB, free: 152.7 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4032/2.171, allocations: 195.8 MB / 1.307 GB, free: 135.1 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/18.82, allocations: 7.641 kB / 1.307 GB, free: 135.1 MB / 0.5887 GB " [Timeout remaining time 641] (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/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_4.1.0_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.92352200113237]