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.001372/0.001372, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001705/0.001705, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2344/0.2344, allocations: 46.97 MB / 360.9 MB, free: 4.121 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="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 0.002067/0.002067, allocations: 71.89 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0225/0.3763, allocations: 16.98 MB / 0.5772 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.3884, allocations: 4.842 MB / 0.5819 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004328/0.3928, allocations: 194.9 kB / 0.5821 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01898/0.4118, allocations: 7.248 MB / 0.5892 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008969/0.4207, allocations: 2.086 MB / 0.5912 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004717/0.4254, allocations: 1.378 MB / 0.5926 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01626/0.4417, allocations: 12.25 MB / 0.6045 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0352/0.4769, allocations: 16.73 MB / 0.6209 GB, free: 6.168 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01035/0.4873, allocations: 6.659 MB / 0.6274 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01241/0.4997, allocations: 7.225 MB / 0.6344 GB, free: 8.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004323/0.504, allocations: 1.719 MB / 0.6361 GB, free: 6.523 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/0.5098, allocations: 1.902 MB / 0.6379 GB, free: 4.621 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005375/0.5152, allocations: 3.67 MB / 0.6415 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01171/0.5269, allocations: 5.486 MB / 0.6469 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03009/0.5569, allocations: 23.78 MB / 0.6701 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.557, allocations: 0 / 0.6701 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.557, allocations: 3.938 kB / 0.6701 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005823/0.5575, allocations: 0 / 0.6701 GB, free: 3.57 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.04175/0.5993, allocations: 14.75 MB / 0.6845 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.5994, allocations: 8.031 kB / 0.6845 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006231/0.6056, allocations: 1.726 MB / 0.6862 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06313/0.6687, allocations: 11.18 MB / 0.6971 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01931/0.688, allocations: 7.487 MB / 0.7044 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00126/0.6893, allocations: 0.8911 MB / 0.7053 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004798/0.6941, allocations: 1.172 MB / 0.7065 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05164/0.7457, allocations: 19.14 MB / 0.7252 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007032/0.7464, allocations: 23.89 kB / 0.7252 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00557/0.752, allocations: 496 kB / 0.7257 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001008/0.753, allocations: 0.6539 MB / 0.7263 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5598/1.313, allocations: 19.05 MB / 0.7449 GB, free: 134.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/1.414, allocations: 55.03 MB / 0.7986 GB, free: 89.98 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/1.43, allocations: 10.63 MB / 0.809 GB, free: 79.87 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006072/1.436, allocations: 4.22 MB / 0.8131 GB, free: 75.62 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004631/1.437, allocations: 184.9 kB / 0.8133 GB, free: 75.44 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.958e-05/1.437, allocations: 107.6 kB / 0.8134 GB, free: 75.32 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 9.798e-06/1.437, allocations: 0 / 0.8134 GB, free: 75.32 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01706/1.454, allocations: 12 MB / 0.8251 GB, free: 63.22 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/1.454, allocations: 120.5 kB / 0.8253 GB, free: 63.09 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/1.465, allocations: 8.736 MB / 0.8338 GB, free: 54.46 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001258/1.466, allocations: 129.7 kB / 0.8339 GB, free: 54.32 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003228/1.47, allocations: 4.61 MB / 0.8384 GB, free: 50.16 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002536/1.472, allocations: 2.296 MB / 0.8407 GB, free: 47.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002088/1.474, allocations: 1.47 MB / 0.8421 GB, free: 46.42 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.105e-05/1.474, allocations: 305.1 kB / 0.8424 GB, free: 46.12 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0052/1.479, allocations: 4.113 MB / 0.8464 GB, free: 42 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007225/1.487, allocations: 6.921 MB / 0.8532 GB, free: 33.81 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/1.5, allocations: 11.98 MB / 0.8649 GB, free: 20.48 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.404e-05/1.5, allocations: 28 kB / 0.8649 GB, free: 20.45 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01981/1.52, allocations: 12.1 MB / 0.8767 GB, free: 8.242 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.231e-05/1.52, allocations: 44 kB / 0.8767 GB, free: 8.199 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/1.52, allocations: 92.81 kB / 0.8768 GB, free: 8.109 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008608/1.521, allocations: 408.9 kB / 0.8772 GB, free: 7.691 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006827/1.528, allocations: 2.016 MB / 0.8792 GB, free: 5.672 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/1.535, allocations: 8.945 MB / 0.8879 GB, free: 12.04 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008855/1.544, allocations: 1.389 MB / 0.8893 GB, free: 10.64 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/1.545, allocations: 383.9 kB / 0.8896 GB, free: 10.27 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.01064/1.556, allocations: 4.579 MB / 0.8941 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/1.558, allocations: 0.7374 MB / 0.8948 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/1.577, allocations: 10.6 MB / 0.9052 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-05/1.577, allocations: 71.94 kB / 0.9052 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/1.577, allocations: 7.938 kB / 0.9053 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.824e-05/1.577, allocations: 35.86 kB / 0.9053 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4521/2.029, allocations: 151.4 MB / 1.053 GB, free: 192.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001114/2.03, allocations: 84 kB / 1.053 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005034/2.035, allocations: 1.56 MB / 1.055 GB, free: 190.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007146/2.035, allocations: 376.7 kB / 1.055 GB, free: 190.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005491/2.036, allocations: 259.9 kB / 1.055 GB, free: 190.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00461/2.041, allocations: 8.812 MB / 1.064 GB, free: 180.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.066e-05/2.041, allocations: 131.4 kB / 1.064 GB, free: 180.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/2.061, allocations: 18.64 MB / 1.082 GB, free: 160.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006673/2.068, allocations: 2.07 MB / 1.084 GB, free: 158.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002425/2.07, allocations: 247.9 kB / 1.085 GB, free: 158.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006245/2.077, allocations: 0.5463 MB / 1.085 GB, free: 158 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001688/2.078, allocations: 0.7689 MB / 1.086 GB, free: 157.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006936/2.079, allocations: 315.9 kB / 1.086 GB, free: 156.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01037/2.089, allocations: 6.047 MB / 1.092 GB, free: 150.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.82e-07/2.089, allocations: 0 / 1.092 GB, free: 150.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009916/2.099, allocations: 2.645 MB / 1.095 GB, free: 148.4 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.02176/2.121, allocations: 19.55 MB / 1.114 GB, free: 126.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01629/2.137, allocations: 10.33 MB / 1.124 GB, free: 116.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001175/2.137, allocations: 12 kB / 1.124 GB, free: 116.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007685/2.145, allocations: 5.286 MB / 1.129 GB, free: 111.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/2.156, allocations: 1.491 MB / 1.13 GB, free: 109.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1504/2.306, allocations: 99.24 MB / 1.227 GB, free: 3.969 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01169/2.318, allocations: 7.361 MB / 1.235 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.009504/2.328, allocations: 3.558 MB / 1.238 GB, free: 8.996 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008178/2.336, allocations: 4.209 MB / 1.242 GB, free: 4.785 MB / 0.6857 GB Notification: Performance of SimCode: time 1.373e-06/2.336, allocations: 0 / 1.242 GB, free: 4.785 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5662/2.902, allocations: 196.2 MB / 1.434 GB, free: 78.67 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.86/27.76, allocations: 2.812 kB / 1.434 GB, free: 78.67 MB / 0.6857 GB " [Timeout remaining time 632] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 34.58146933885291]