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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 109.5 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 188.8 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1983/0.1983, allocations: 44.18 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3147, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02119/0.3359, allocations: 19.73 MB / 0.5377 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.3473, allocations: 4.91 MB / 0.5425 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005139/0.3525, allocations: 165 kB / 0.5426 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01785/0.3704, allocations: 7.772 MB / 0.5502 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009069/0.3795, allocations: 2.203 MB / 0.5524 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.3836, allocations: 1.261 MB / 0.5536 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01474/0.3983, allocations: 12.16 MB / 0.5655 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03737/0.4357, allocations: 26.06 MB / 0.5909 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009486/0.4453, allocations: 6.526 MB / 0.5973 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.4564, allocations: 7.214 MB / 0.6044 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004802/0.4613, allocations: 1.719 MB / 0.606 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006429/0.4678, allocations: 1.914 MB / 0.6079 GB, free: 156 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00745/0.4752, allocations: 3.643 MB / 0.6115 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0144/0.4897, allocations: 7.007 MB / 0.6183 GB, free: 5.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02619/0.5159, allocations: 23.62 MB / 0.6414 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.5159, allocations: 0 / 0.6414 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.516, allocations: 0 / 0.6414 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007302/0.5167, allocations: 0 / 0.6414 GB, free: 13.78 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.04231/0.559, allocations: 14.57 MB / 0.6556 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5591, allocations: 8.031 kB / 0.6556 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005599/0.5647, allocations: 1.714 MB / 0.6573 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06107/0.6258, allocations: 11.44 MB / 0.6684 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/0.6439, allocations: 7.31 MB / 0.6756 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001058/0.645, allocations: 0.8949 MB / 0.6765 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004596/0.6496, allocations: 1.168 MB / 0.6776 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04623/0.6959, allocations: 18.56 MB / 0.6957 GB, free: 5.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005208/0.6964, allocations: 15.81 kB / 0.6957 GB, free: 5.805 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003497/0.6999, allocations: 499.9 kB / 0.6962 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007034/0.7007, allocations: 0.6654 MB / 0.6969 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04328/0.744, allocations: 19.08 MB / 0.7155 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5795/1.323, allocations: 59.98 MB / 0.7741 GB, free: 115.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/1.343, allocations: 16.62 MB / 0.7903 GB, free: 100.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006135/1.349, allocations: 4.524 MB / 0.7947 GB, free: 96 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006086/1.35, allocations: 237.8 kB / 0.7949 GB, free: 95.77 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.361e-05/1.35, allocations: 111.6 kB / 0.7951 GB, free: 95.65 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 2.621e-05/1.35, allocations: 3.984 kB / 0.7951 GB, free: 95.64 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01957/1.369, allocations: 12.34 MB / 0.8071 GB, free: 83.09 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/1.37, allocations: 120.5 kB / 0.8072 GB, free: 82.96 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01426/1.384, allocations: 8.603 MB / 0.8156 GB, free: 74.37 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009792/1.385, allocations: 137.7 kB / 0.8158 GB, free: 74.23 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003134/1.388, allocations: 4.488 MB / 0.8201 GB, free: 69.73 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002499/1.391, allocations: 2.191 MB / 0.8223 GB, free: 67.54 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004273/1.395, allocations: 1.435 MB / 0.8237 GB, free: 66.09 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.624e-05/1.395, allocations: 309.1 kB / 0.824 GB, free: 65.79 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00673/1.402, allocations: 4.098 MB / 0.828 GB, free: 61.69 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007685/1.409, allocations: 6.909 MB / 0.8347 GB, free: 53.52 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.422, allocations: 11.93 MB / 0.8464 GB, free: 40.23 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.257e-05/1.422, allocations: 27.94 kB / 0.8464 GB, free: 40.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02061/1.443, allocations: 12 MB / 0.8581 GB, free: 28.09 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.443, allocations: 44 kB / 0.8582 GB, free: 28.05 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/1.443, allocations: 95.94 kB / 0.8583 GB, free: 27.95 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/1.444, allocations: 409 kB / 0.8586 GB, free: 27.54 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007302/1.452, allocations: 2.016 MB / 0.8606 GB, free: 25.52 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00545/1.457, allocations: 9.569 MB / 0.87 GB, free: 15.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007601/1.465, allocations: 1.362 MB / 0.8713 GB, free: 13.73 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/1.466, allocations: 375.9 kB / 0.8716 GB, free: 13.36 MB / 0.5607 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.01091/1.477, allocations: 4.574 MB / 0.8761 GB, free: 8.77 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/1.48, allocations: 0.6982 MB / 0.8768 GB, free: 8.062 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01836/1.498, allocations: 10.6 MB / 0.8871 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.465e-05/1.498, allocations: 72 kB / 0.8872 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-05/1.498, allocations: 3.938 kB / 0.8872 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001476/1.498, allocations: 35.86 kB / 0.8872 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4518/1.95, allocations: 156.5 MB / 1.04 GB, free: 165 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002751/1.95, allocations: 84 kB / 1.04 GB, free: 164.9 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005801/1.956, allocations: 1.545 MB / 1.042 GB, free: 163.3 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009144/1.957, allocations: 380.9 kB / 1.042 GB, free: 162.9 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009736/1.958, allocations: 244 kB / 1.042 GB, free: 162.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004806/1.963, allocations: 9.471 MB / 1.052 GB, free: 152.5 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.659e-05/1.963, allocations: 131.4 kB / 1.052 GB, free: 152.4 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0212/1.984, allocations: 18.52 MB / 1.07 GB, free: 132.2 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005617/1.99, allocations: 2.016 MB / 1.072 GB, free: 130.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002084/1.992, allocations: 243.9 kB / 1.072 GB, free: 130 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005952/1.998, allocations: 0.5578 MB / 1.072 GB, free: 129.4 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001355/1.999, allocations: 0.7372 MB / 1.073 GB, free: 128.7 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001118/2, allocations: 308 kB / 1.073 GB, free: 128.4 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01065/2.011, allocations: 6.047 MB / 1.079 GB, free: 122.4 MB / 0.6388 GB Notification: Performance of sort global known variables: time 5.01e-07/2.011, allocations: 0 / 1.079 GB, free: 122.4 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009303/2.02, allocations: 2.617 MB / 1.082 GB, free: 119.8 MB / 0.6388 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.0221/2.043, allocations: 19.42 MB / 1.101 GB, free: 98.23 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01378/2.056, allocations: 10.59 MB / 1.111 GB, free: 87.59 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 6.509e-05/2.056, allocations: 12 kB / 1.111 GB, free: 87.58 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.007169/2.064, allocations: 5.441 MB / 1.117 GB, free: 82.08 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01067/2.074, allocations: 1.494 MB / 1.118 GB, free: 80.62 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3874/2.462, allocations: 98.8 MB / 1.215 GB, free: 203.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01637/2.478, allocations: 7.768 MB / 1.222 GB, free: 202.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.012/2.49, allocations: 3.566 MB / 1.226 GB, free: 202.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008515/2.499, allocations: 4.154 MB / 1.23 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of SimCode: time 1.092e-06/2.499, allocations: 0 / 1.23 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2894/2.788, allocations: 190.6 MB / 1.416 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.35/31.14, allocations: 12.72 kB / 1.416 GB, free: 34.87 MB / 0.6544 GB (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 --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) 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) Reference file matches