Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007895/0.0007896, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006819/0.0006816, allocations: 94.34 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2601/0.2601, allocations: 43.57 MB / 363.1 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 12 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08407/0.0844, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.1646/0.2491, allocations: 17.3 MB / 0.4963 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007804/0.2569, allocations: 4.563 MB / 0.5008 GB, free: 34.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.2599, allocations: 126.6 kB / 0.5009 GB, free: 34.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.2622, allocations: 0.8835 MB / 0.5018 GB, free: 33.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005097/0.2673, allocations: 1.983 MB / 0.5037 GB, free: 33.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.2695, allocations: 0.9531 MB / 0.5046 GB, free: 32.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009214/0.2787, allocations: 11.84 MB / 0.5162 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03196/0.3107, allocations: 24.94 MB / 0.5405 GB, free: 14.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006037/0.3168, allocations: 4.589 MB / 0.545 GB, free: 12.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007565/0.3244, allocations: 5.293 MB / 0.5502 GB, free: 10.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002075/0.3265, allocations: 0.6867 MB / 0.5509 GB, free: 10.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.3307, allocations: 0.8685 MB / 0.5517 GB, free: 9.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.3326, allocations: 2.348 MB / 0.554 GB, free: 7.887 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006712/0.3394, allocations: 5.406 MB / 0.5593 GB, free: 2.684 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.3551, allocations: 19.85 MB / 0.5787 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3551, allocations: 0 / 0.5787 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3551, allocations: 0 / 0.5787 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003731/0.3555, allocations: 0 / 0.5787 GB, free: 0.8828 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.02889/0.3844, allocations: 12.05 MB / 0.5904 GB, free: 4.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3844, allocations: 8.031 kB / 0.5904 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004581/0.389, allocations: 1.755 MB / 0.5921 GB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05873/0.4478, allocations: 12.48 MB / 0.6043 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/0.4596, allocations: 6.566 MB / 0.6107 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006858/0.4603, allocations: 0.9032 MB / 0.6116 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00341/0.4637, allocations: 1.191 MB / 0.6128 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0378/0.5015, allocations: 18.95 MB / 0.6313 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/0.5019, allocations: 19.81 kB / 0.6313 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001761/0.5036, allocations: 0.4999 MB / 0.6318 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005259/0.5042, allocations: 0.6933 MB / 0.6325 GB, free: 9.484 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03411/0.5383, allocations: 19.75 MB / 0.6518 GB, free: 5.719 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3937/0.932, allocations: 62.41 MB / 0.7127 GB, free: 89.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/0.9489, allocations: 20.14 MB / 0.7324 GB, free: 75.35 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005787/0.9547, allocations: 4.602 MB / 0.7369 GB, free: 73.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004183/0.9552, allocations: 239.7 kB / 0.7371 GB, free: 73.65 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.9552, allocations: 103.8 kB / 0.7372 GB, free: 73.56 MB / 490.8 MB Notification: Performance of pre-optimization done (n=674): time 8.627e-06/0.9553, allocations: 5.078 kB / 0.7372 GB, free: 73.56 MB / 490.8 MB Notification: Performance of matching and sorting (n=674): time 0.01438/0.9696, allocations: 12.51 MB / 0.7494 GB, free: 68.29 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.9697, allocations: 119.1 kB / 0.7495 GB, free: 68.22 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009075/0.9788, allocations: 8.669 MB / 0.758 GB, free: 63.77 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004862/0.9793, allocations: 135.6 kB / 0.7581 GB, free: 63.66 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002012/0.9813, allocations: 4.613 MB / 0.7626 GB, free: 59.66 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.9826, allocations: 2.26 MB / 0.7648 GB, free: 57.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/0.983, allocations: 161.7 kB / 0.765 GB, free: 57.58 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.9832, allocations: 0.6375 MB / 0.7656 GB, free: 57.04 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0046/0.9879, allocations: 4.161 MB / 0.7697 GB, free: 54.87 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005296/0.9932, allocations: 7.206 MB / 0.7767 GB, free: 48.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/1.004, allocations: 12.36 MB / 0.7888 GB, free: 37.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.756e-05/1.004, allocations: 31.94 kB / 0.7888 GB, free: 37.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01364/1.017, allocations: 12.34 MB / 0.8009 GB, free: 25.46 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/1.017, allocations: 52 kB / 0.8009 GB, free: 25.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.534e-05/1.017, allocations: 96 kB / 0.801 GB, free: 25.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007668/1.018, allocations: 424.8 kB / 0.8014 GB, free: 24.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005775/1.024, allocations: 2.094 MB / 0.8035 GB, free: 22.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004384/1.028, allocations: 8.943 MB / 0.8122 GB, free: 13.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/1.034, allocations: 1.389 MB / 0.8135 GB, free: 11.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005033/1.034, allocations: 396 kB / 0.8139 GB, free: 11.26 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005592/1.04, allocations: 4.67 MB / 0.8185 GB, free: 6.574 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007763/1.04, allocations: 0.7136 MB / 0.8192 GB, free: 5.852 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.054, allocations: 11.02 MB / 0.8299 GB, free: 10.72 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.742e-05/1.054, allocations: 68 kB / 0.83 GB, free: 10.66 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.054, allocations: 0 / 0.83 GB, free: 10.66 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-05/1.055, allocations: 39.75 kB / 0.83 GB, free: 10.62 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3205/1.375, allocations: 159.2 MB / 0.9855 GB, free: 82.14 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001612/1.375, allocations: 88 kB / 0.9856 GB, free: 82.05 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004753/1.38, allocations: 1.575 MB / 0.9871 GB, free: 80.48 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/1.381, allocations: 376.9 kB / 0.9875 GB, free: 80.09 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005262/1.381, allocations: 256 kB / 0.9877 GB, free: 79.84 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/1.385, allocations: 8.81 MB / 0.9963 GB, free: 70.37 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.794e-05/1.385, allocations: 140.7 kB / 0.9964 GB, free: 70.23 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.402, allocations: 18.79 MB / 1.015 GB, free: 49.71 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003269/1.405, allocations: 2.046 MB / 1.017 GB, free: 47.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008424/1.406, allocations: 251.4 kB / 1.017 GB, free: 47.54 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/1.41, allocations: 0.5736 MB / 1.018 GB, free: 46.96 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/1.411, allocations: 0.7458 MB / 1.018 GB, free: 46.21 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003787/1.411, allocations: 312 kB / 1.019 GB, free: 45.91 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006309/1.417, allocations: 6.066 MB / 1.025 GB, free: 39.86 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.41e-07/1.417, allocations: 0 / 1.025 GB, free: 39.86 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.005796/1.423, allocations: 2.675 MB / 1.027 GB, free: 37.18 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01598/1.439, allocations: 19.71 MB / 1.046 GB, free: 15.32 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.451, allocations: 10.57 MB / 1.057 GB, free: 4.676 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.969e-05/1.451, allocations: 16 kB / 1.057 GB, free: 4.66 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005594/1.456, allocations: 5.487 MB / 1.062 GB, free: 15.11 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07304/1.529, allocations: 1.511 MB / 1.064 GB, free: 13.63 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2824/1.812, allocations: 88.34 MB / 1.15 GB, free: 116.5 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006664/1.818, allocations: 7.626 MB / 1.157 GB, free: 113.8 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00501/1.823, allocations: 4.281 MB / 1.161 GB, free: 110.4 MB / 0.5418 GB Notification: Performance of SimCode: time 5.71e-07/1.823, allocations: 0 / 1.161 GB, free: 110.4 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.26/13.08, allocations: 0.5705 GB / 1.732 GB, free: 151.3 MB / 0.5574 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches