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.001327/0.001327, allocations: 105.1 kB / 21.22 MB, free: 0.625 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.001362/0.001362, allocations: 215.8 kB / 24.52 MB, free: 3.934 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2254/0.2254, allocations: 44.94 MB / 359.6 MB, free: 6.043 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",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.001924/0.001924, allocations: 63.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3387, allocations: 65.48 MB / 0.5577 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02135/0.36, allocations: 16.96 MB / 0.5743 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.3713, allocations: 4.826 MB / 0.579 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003817/0.3752, allocations: 198.9 kB / 0.5792 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01846/0.3936, allocations: 7.244 MB / 0.5863 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008055/0.4017, allocations: 2.094 MB / 0.5883 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00434/0.406, allocations: 1.391 MB / 0.5897 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01628/0.4223, allocations: 12.24 MB / 0.6016 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02907/0.4514, allocations: 16.87 MB / 0.6181 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.4617, allocations: 6.659 MB / 0.6246 GB, free: 2.676 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/0.4744, allocations: 7.292 MB / 0.6317 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005563/0.48, allocations: 1.719 MB / 0.6334 GB, free: 9.641 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007205/0.4872, allocations: 1.906 MB / 0.6353 GB, free: 7.734 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00745/0.4947, allocations: 3.67 MB / 0.6389 GB, free: 4.055 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01402/0.5087, allocations: 5.486 MB / 0.6442 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04111/0.5498, allocations: 23.78 MB / 0.6674 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.5498, allocations: 0 / 0.6674 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5498, allocations: 0 / 0.6674 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007845/0.5506, allocations: 0 / 0.6674 GB, free: 6.688 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.06118/0.6118, allocations: 14.75 MB / 0.6818 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.6118, allocations: 12.03 kB / 0.6818 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000471/0.6123, allocations: 324.7 kB / 0.6822 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008134/0.6204, allocations: 1.722 MB / 0.6838 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06358/0.684, allocations: 11.17 MB / 0.6948 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01919/0.7032, allocations: 7.506 MB / 0.7021 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001478/0.7047, allocations: 0.8832 MB / 0.7029 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006199/0.7109, allocations: 1.18 MB / 0.7041 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06366/0.7745, allocations: 19.14 MB / 0.7228 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001005/0.7755, allocations: 19.91 kB / 0.7228 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007272/0.7828, allocations: 0.496 MB / 0.7233 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001279/0.7841, allocations: 0.6577 MB / 0.7239 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6139/1.398, allocations: 19.13 MB / 0.7426 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1048/1.503, allocations: 55.03 MB / 0.7964 GB, free: 95.51 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01664/1.519, allocations: 10.64 MB / 0.8067 GB, free: 85.38 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005942/1.525, allocations: 4.216 MB / 0.8109 GB, free: 81.14 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005118/1.526, allocations: 188.9 kB / 0.811 GB, free: 80.95 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.99e-05/1.526, allocations: 103.7 kB / 0.8111 GB, free: 80.84 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.257e-06/1.526, allocations: 0 / 0.8111 GB, free: 80.84 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01966/1.546, allocations: 12.01 MB / 0.8229 GB, free: 68.74 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/1.546, allocations: 120.5 kB / 0.823 GB, free: 68.61 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/1.559, allocations: 8.609 MB / 0.8314 GB, free: 60.05 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001303/1.56, allocations: 129.7 kB / 0.8315 GB, free: 59.92 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003398/1.563, allocations: 4.617 MB / 0.836 GB, free: 55.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002328/1.566, allocations: 2.294 MB / 0.8383 GB, free: 53.53 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002211/1.568, allocations: 1.466 MB / 0.8397 GB, free: 52.06 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.076e-05/1.568, allocations: 305.1 kB / 0.84 GB, free: 51.76 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005564/1.574, allocations: 4.117 MB / 0.844 GB, free: 47.64 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007569/1.581, allocations: 6.913 MB / 0.8508 GB, free: 39.45 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/1.594, allocations: 11.99 MB / 0.8625 GB, free: 26.11 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/1.594, allocations: 24 kB / 0.8625 GB, free: 26.09 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01829/1.613, allocations: 12.1 MB / 0.8743 GB, free: 13.88 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-05/1.613, allocations: 44.88 kB / 0.8743 GB, free: 13.84 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/1.613, allocations: 88 kB / 0.8744 GB, free: 13.75 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000831/1.614, allocations: 416.8 kB / 0.8748 GB, free: 13.32 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006621/1.62, allocations: 2.02 MB / 0.8768 GB, free: 11.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005256/1.626, allocations: 8.934 MB / 0.8855 GB, free: 1.68 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009657/1.635, allocations: 1.385 MB / 0.8869 GB, free: 292 kB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002343/1.638, allocations: 387.9 kB / 0.8872 GB, free: 15.91 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.01245/1.65, allocations: 4.57 MB / 0.8917 GB, free: 11.32 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002911/1.653, allocations: 0.7374 MB / 0.8924 GB, free: 10.58 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02841/1.681, allocations: 10.61 MB / 0.9028 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.141e-05/1.681, allocations: 67.94 kB / 0.9029 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.19e-05/1.681, allocations: 11.94 kB / 0.9029 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001581/1.682, allocations: 35.86 kB / 0.9029 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5019/2.184, allocations: 151.4 MB / 1.051 GB, free: 201.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002312/2.184, allocations: 84 kB / 1.051 GB, free: 201.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00564/2.189, allocations: 1.559 MB / 1.052 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008058/2.19, allocations: 384.2 kB / 1.053 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001173/2.191, allocations: 255.9 kB / 1.053 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004755/2.196, allocations: 8.821 MB / 1.062 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.148e-05/2.196, allocations: 131.4 kB / 1.062 GB, free: 189.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0196/2.216, allocations: 18.64 MB / 1.08 GB, free: 169.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005721/2.221, allocations: 2.074 MB / 1.082 GB, free: 167.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002872/2.224, allocations: 243.9 kB / 1.082 GB, free: 167.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006273/2.231, allocations: 0.5502 MB / 1.083 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001595/2.232, allocations: 0.765 MB / 1.083 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007252/2.233, allocations: 319.9 kB / 1.084 GB, free: 165.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.009967/2.243, allocations: 6.047 MB / 1.09 GB, free: 159.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.81e-07/2.243, allocations: 0 / 1.09 GB, free: 159.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01434/2.257, allocations: 2.646 MB / 1.092 GB, free: 157 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.02498/2.282, allocations: 19.54 MB / 1.111 GB, free: 135.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01472/2.297, allocations: 10.33 MB / 1.121 GB, free: 125.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001201/2.297, allocations: 16 kB / 1.121 GB, free: 125 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007373/2.304, allocations: 5.281 MB / 1.127 GB, free: 119.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/2.316, allocations: 1.499 MB / 1.128 GB, free: 118.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1588/2.474, allocations: 99.23 MB / 1.225 GB, free: 12.61 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01221/2.487, allocations: 7.365 MB / 1.232 GB, free: 5.199 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009113/2.496, allocations: 3.562 MB / 1.236 GB, free: 1.625 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00918/2.505, allocations: 4.202 MB / 1.24 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of SimCode: time 2.134e-06/2.505, allocations: 0 / 1.24 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6136/3.118, allocations: 195.1 MB / 1.43 GB, free: 91.16 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.34/33.46, allocations: 11.91 kB / 1.43 GB, free: 91.15 MB / 0.6857 GB " [Timeout remaining time 626] (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 657] Reference file matches [Calling sys.exit(0), Time elapsed: 43.06920121202711]