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.001631/0.001631, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002612/0.002612, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2379/0.2379, allocations: 46.93 MB / 361.6 MB, free: 4.254 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 0.4969 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3096, allocations: 66.03 MB / 0.5614 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02286/0.3324, allocations: 19.88 MB / 0.5808 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.3429, allocations: 4.994 MB / 0.5857 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003742/0.3467, allocations: 194.9 kB / 0.5859 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0185/0.3652, allocations: 7.859 MB / 0.5936 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007548/0.3727, allocations: 2.113 MB / 0.5956 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.3769, allocations: 1.433 MB / 0.597 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01575/0.3927, allocations: 12.24 MB / 0.609 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03042/0.4231, allocations: 16.87 MB / 0.6254 GB, free: 2.504 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/0.4352, allocations: 6.655 MB / 0.6319 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/0.4481, allocations: 7.288 MB / 0.6391 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004958/0.4531, allocations: 1.719 MB / 0.6407 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006272/0.4593, allocations: 1.922 MB / 0.6426 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005878/0.4652, allocations: 3.659 MB / 0.6462 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01432/0.4795, allocations: 7.019 MB / 0.653 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03412/0.5137, allocations: 23.67 MB / 0.6762 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5137, allocations: 4 kB / 0.6762 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5137, allocations: 0 / 0.6762 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005952/0.5143, allocations: 0 / 0.6762 GB, free: 14.41 MB / 0.5137 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.04756/0.5618, allocations: 14.76 MB / 0.6906 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.5619, allocations: 8.031 kB / 0.6906 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0006239/0.5625, allocations: 324.7 kB / 0.6909 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01016/0.5727, allocations: 1.718 MB / 0.6926 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08173/0.6544, allocations: 11.18 MB / 0.7035 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/0.6724, allocations: 7.495 MB / 0.7108 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001194/0.6736, allocations: 0.8871 MB / 0.7117 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005101/0.6787, allocations: 1.168 MB / 0.7128 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0489/0.7276, allocations: 18.61 MB / 0.731 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007861/0.7284, allocations: 19.91 kB / 0.731 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007088/0.7355, allocations: 495.9 kB / 0.7315 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009871/0.7365, allocations: 0.6616 MB / 0.7321 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5716/1.308, allocations: 19.14 MB / 0.7508 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09478/1.403, allocations: 59.54 MB / 0.809 GB, free: 80.89 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01745/1.42, allocations: 10.7 MB / 0.8194 GB, free: 70.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006233/1.427, allocations: 4.22 MB / 0.8235 GB, free: 66.45 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/1.427, allocations: 238 kB / 0.8238 GB, free: 66.27 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.016e-05/1.427, allocations: 107.7 kB / 0.8239 GB, free: 66.15 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.081e-05/1.427, allocations: 0 / 0.8239 GB, free: 66.15 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02037/1.448, allocations: 12.01 MB / 0.8356 GB, free: 54.05 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/1.448, allocations: 120.5 kB / 0.8357 GB, free: 53.92 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/1.459, allocations: 8.609 MB / 0.8441 GB, free: 45.37 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/1.46, allocations: 133.7 kB / 0.8442 GB, free: 45.23 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002863/1.463, allocations: 4.612 MB / 0.8487 GB, free: 41.12 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002046/1.465, allocations: 2.299 MB / 0.851 GB, free: 38.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003056/1.468, allocations: 1.47 MB / 0.8524 GB, free: 37.33 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/1.468, allocations: 305.1 kB / 0.8527 GB, free: 37.03 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00536/1.474, allocations: 4.113 MB / 0.8567 GB, free: 32.91 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007022/1.481, allocations: 6.917 MB / 0.8635 GB, free: 24.72 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/1.494, allocations: 11.99 MB / 0.8752 GB, free: 11.38 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-05/1.494, allocations: 28 kB / 0.8752 GB, free: 11.36 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02102/1.515, allocations: 12.1 MB / 0.887 GB, free: 15.14 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/1.515, allocations: 44 kB / 0.8871 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/1.515, allocations: 95.94 kB / 0.8872 GB, free: 15 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/1.516, allocations: 405.1 kB / 0.8876 GB, free: 14.59 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008611/1.525, allocations: 2.024 MB / 0.8895 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009374/1.534, allocations: 8.961 MB / 0.8983 GB, free: 2.914 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008594/1.543, allocations: 1.389 MB / 0.8996 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001963/1.545, allocations: 391.9 kB / 0.9 GB, free: 1.133 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.01097/1.556, allocations: 4.573 MB / 0.9045 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002739/1.558, allocations: 0.7374 MB / 0.9052 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02577/1.584, allocations: 10.6 MB / 0.9155 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.258e-05/1.584, allocations: 71.98 kB / 0.9156 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.771e-05/1.584, allocations: 7.938 kB / 0.9156 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001642/1.585, allocations: 35.86 kB / 0.9157 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4384/2.023, allocations: 152.6 MB / 1.065 GB, free: 182.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001266/2.023, allocations: 84 kB / 1.065 GB, free: 182.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005282/2.028, allocations: 1.56 MB / 1.066 GB, free: 181.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008017/2.029, allocations: 380.7 kB / 1.067 GB, free: 180.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009951/2.03, allocations: 259.9 kB / 1.067 GB, free: 180.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004667/2.035, allocations: 8.848 MB / 1.076 GB, free: 171.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.117e-05/2.035, allocations: 131.4 kB / 1.076 GB, free: 171 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02147/2.056, allocations: 18.64 MB / 1.094 GB, free: 150.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006209/2.063, allocations: 2.076 MB / 1.096 GB, free: 149 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002713/2.065, allocations: 249 kB / 1.096 GB, free: 148.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006301/2.072, allocations: 0.5424 MB / 1.097 GB, free: 148.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/2.073, allocations: 0.7689 MB / 1.097 GB, free: 147.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005818/2.074, allocations: 319.9 kB / 1.098 GB, free: 147.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008532/2.082, allocations: 6.047 MB / 1.104 GB, free: 141.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/2.082, allocations: 0 / 1.104 GB, free: 141.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009192/2.091, allocations: 2.644 MB / 1.106 GB, free: 138.6 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.02023/2.112, allocations: 19.54 MB / 1.125 GB, free: 117.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01393/2.125, allocations: 10.33 MB / 1.135 GB, free: 106.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-05/2.126, allocations: 16 kB / 1.135 GB, free: 106.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00802/2.134, allocations: 5.285 MB / 1.141 GB, free: 101.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/2.145, allocations: 1.482 MB / 1.142 GB, free: 99.82 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.161/2.306, allocations: 99.32 MB / 1.239 GB, free: 10.11 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01654/2.322, allocations: 7.777 MB / 1.247 GB, free: 2.293 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.3007/2.623, allocations: 3.56 MB / 1.25 GB, free: 227.1 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008129/2.631, allocations: 4.207 MB / 1.254 GB, free: 227.1 MB / 0.6857 GB Notification: Performance of SimCode: time 1.674e-06/2.631, allocations: 0 / 1.254 GB, free: 227.1 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2602/2.891, allocations: 194.5 MB / 1.444 GB, free: 65.37 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.11/35, allocations: 8.047 kB / 1.444 GB, free: 65.36 MB / 0.6857 GB " [Timeout remaining time 625] (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/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_4.1.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: 44.754681814985815]