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.001883/0.001883, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002139/0.002139, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 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 1.512/1.512, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.2311/0.2311, allocations: 46.92 MB / 360.8 MB, free: 4.164 MB / 286.1 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 0.002305/0.002305, allocations: 79.88 kB / 0.4962 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3339, allocations: 66.09 MB / 0.5607 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02363/0.3576, allocations: 19.85 MB / 0.5801 GB, free: 340 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.3712, allocations: 5.005 MB / 0.585 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005194/0.3764, allocations: 191 kB / 0.5852 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01973/0.3962, allocations: 7.854 MB / 0.5929 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008509/0.4047, allocations: 2.117 MB / 0.5949 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005037/0.4097, allocations: 1.434 MB / 0.5963 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01667/0.4264, allocations: 12.24 MB / 0.6083 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03519/0.4616, allocations: 16.87 MB / 0.6248 GB, free: 2.336 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01391/0.4755, allocations: 6.659 MB / 0.6313 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0141/0.4896, allocations: 7.292 MB / 0.6384 GB, free: 4.344 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005477/0.495, allocations: 1.723 MB / 0.6401 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006963/0.502, allocations: 1.918 MB / 0.6419 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006663/0.5087, allocations: 3.655 MB / 0.6455 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01443/0.5231, allocations: 7.015 MB / 0.6524 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03461/0.5577, allocations: 23.67 MB / 0.6755 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5577, allocations: 0 / 0.6755 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5577, allocations: 0 / 0.6755 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0006868/0.5584, allocations: 0 / 0.6755 GB, free: 14.24 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.04317/0.6016, allocations: 14.75 MB / 0.6899 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.6016, allocations: 12.03 kB / 0.6899 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006223/0.6079, allocations: 1.722 MB / 0.6916 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06111/0.669, allocations: 11.17 MB / 0.7025 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/0.6856, allocations: 7.499 MB / 0.7098 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009068/0.6865, allocations: 0.8871 MB / 0.7107 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004161/0.6906, allocations: 1.172 MB / 0.7118 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04841/0.739, allocations: 18.61 MB / 0.73 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006689/0.7397, allocations: 23.83 kB / 0.73 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004506/0.7442, allocations: 496 kB / 0.7305 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007554/0.745, allocations: 0.6578 MB / 0.7311 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5183/1.263, allocations: 19.14 MB / 0.7498 GB, free: 132 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08654/1.35, allocations: 59.55 MB / 0.808 GB, free: 80.96 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/1.366, allocations: 10.7 MB / 0.8184 GB, free: 70.77 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005365/1.371, allocations: 4.22 MB / 0.8225 GB, free: 66.52 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005117/1.372, allocations: 238.2 kB / 0.8228 GB, free: 66.34 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/1.372, allocations: 103.7 kB / 0.8229 GB, free: 66.23 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.304e-06/1.372, allocations: 0 / 0.8229 GB, free: 66.23 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01632/1.388, allocations: 12.01 MB / 0.8346 GB, free: 54.12 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/1.388, allocations: 120.5 kB / 0.8347 GB, free: 53.99 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/1.4, allocations: 8.609 MB / 0.8431 GB, free: 45.44 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001399/1.401, allocations: 133.7 kB / 0.8432 GB, free: 45.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002802/1.404, allocations: 4.612 MB / 0.8477 GB, free: 41.17 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002212/1.406, allocations: 2.293 MB / 0.85 GB, free: 38.86 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002094/1.408, allocations: 1.47 MB / 0.8514 GB, free: 37.38 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.775e-05/1.408, allocations: 309.1 kB / 0.8517 GB, free: 37.08 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005007/1.413, allocations: 4.113 MB / 0.8557 GB, free: 32.96 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006086/1.419, allocations: 6.917 MB / 0.8625 GB, free: 24.77 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/1.431, allocations: 11.99 MB / 0.8742 GB, free: 11.43 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.963e-05/1.431, allocations: 24 kB / 0.8742 GB, free: 11.41 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01728/1.449, allocations: 12.1 MB / 0.886 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.457e-05/1.449, allocations: 44 kB / 0.8861 GB, free: 15.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/1.449, allocations: 92 kB / 0.8862 GB, free: 15.07 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/1.45, allocations: 420.9 kB / 0.8866 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007598/1.457, allocations: 2.016 MB / 0.8885 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008825/1.466, allocations: 8.962 MB / 0.8973 GB, free: 2.969 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008115/1.474, allocations: 1.393 MB / 0.8986 GB, free: 1.566 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/1.476, allocations: 387.9 kB / 0.899 GB, free: 1.188 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.00997/1.486, allocations: 4.574 MB / 0.9035 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/1.488, allocations: 0.7374 MB / 0.9042 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01919/1.507, allocations: 10.6 MB / 0.9146 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/1.507, allocations: 68 kB / 0.9146 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-05/1.507, allocations: 3.938 kB / 0.9146 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.306e-05/1.507, allocations: 31.88 kB / 0.9146 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4911/1.998, allocations: 152.6 MB / 1.064 GB, free: 182.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004619/1.999, allocations: 88 kB / 1.064 GB, free: 182.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005905/2.004, allocations: 1.556 MB / 1.065 GB, free: 180.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008781/2.005, allocations: 379.5 kB / 1.066 GB, free: 180.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001007/2.006, allocations: 255.9 kB / 1.066 GB, free: 180.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/2.011, allocations: 8.847 MB / 1.075 GB, free: 170.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.579e-05/2.011, allocations: 135.4 kB / 1.075 GB, free: 170.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02136/2.033, allocations: 18.64 MB / 1.093 GB, free: 150.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005393/2.038, allocations: 2.072 MB / 1.095 GB, free: 148.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002219/2.04, allocations: 239.9 kB / 1.095 GB, free: 148.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005791/2.046, allocations: 0.5463 MB / 1.096 GB, free: 147.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00164/2.048, allocations: 0.765 MB / 1.096 GB, free: 147.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009919/2.049, allocations: 327.9 kB / 1.097 GB, free: 146.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01/2.059, allocations: 6.044 MB / 1.103 GB, free: 140.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/2.059, allocations: 0 / 1.103 GB, free: 140.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01205/2.071, allocations: 2.645 MB / 1.105 GB, free: 138.3 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.02494/2.096, allocations: 19.53 MB / 1.124 GB, free: 116.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01496/2.111, allocations: 10.33 MB / 1.134 GB, free: 106.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.175e-05/2.111, allocations: 16.19 kB / 1.134 GB, free: 106.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007263/2.118, allocations: 5.289 MB / 1.14 GB, free: 100.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01157/2.129, allocations: 1.493 MB / 1.141 GB, free: 99.47 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1448/2.274, allocations: 99.31 MB / 1.238 GB, free: 9.773 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01296/2.287, allocations: 7.777 MB / 1.246 GB, free: 1.957 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.2987/2.586, allocations: 3.564 MB / 1.249 GB, free: 227.2 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00708/2.593, allocations: 4.204 MB / 1.253 GB, free: 227.2 MB / 0.6857 GB Notification: Performance of SimCode: time 1.142e-06/2.593, allocations: 2 kB / 1.253 GB, free: 227.2 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2586/2.852, allocations: 194.4 MB / 1.443 GB, free: 64.77 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.54/33.39, allocations: 4 kB / 1.443 GB, free: 64.77 MB / 0.6857 GB " [Timeout remaining time 626] (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/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_trunk_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: 40.17316295206547]