Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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 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 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 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.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_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.0008091/0.0008094, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008917/0.0008919, allocations: 185.3 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 223.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2986/0.2986, allocations: 43.57 MB / 315 MB, free: 9.055 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004703, allocations: 16 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.09635, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.1852/0.2816, allocations: 18.58 MB / 462.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.2893, allocations: 4.864 MB / 467 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.2914, allocations: 131.2 kB / 467.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.2939, allocations: 1.233 MB / 468.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005384/0.2993, allocations: 2.095 MB / 470.4 MB, free: 34.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.302, allocations: 1.171 MB / 471.6 MB, free: 34.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01022/0.3122, allocations: 12.7 MB / 484.3 MB, free: 29.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03609/0.3483, allocations: 25.42 MB / 0.4978 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006917/0.3553, allocations: 4.63 MB / 0.5023 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008396/0.3637, allocations: 5.583 MB / 0.5078 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002396/0.3661, allocations: 0.6875 MB / 0.5084 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.3702, allocations: 0.8742 MB / 0.5093 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003071/0.3733, allocations: 2.382 MB / 0.5116 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007448/0.3808, allocations: 5.657 MB / 0.5171 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02042/0.4012, allocations: 22.23 MB / 0.5388 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4012, allocations: 0 / 0.5388 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4012, allocations: 0 / 0.5388 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004968/0.4017, allocations: 4 kB / 0.5388 GB, free: 15.05 MB / 414.1 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.02994/0.4317, allocations: 12.04 MB / 0.5506 GB, free: 2.914 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4318, allocations: 12.02 kB / 0.5506 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004323/0.4361, allocations: 1.755 MB / 0.5523 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06333/0.4994, allocations: 12.48 MB / 0.5645 GB, free: 4.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.5115, allocations: 6.57 MB / 0.5709 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008029/0.5123, allocations: 0.9032 MB / 0.5718 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003971/0.5163, allocations: 1.191 MB / 0.573 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04138/0.5577, allocations: 19.05 MB / 0.5916 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000477/0.5582, allocations: 19.81 kB / 0.5916 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003112/0.5613, allocations: 0.496 MB / 0.5921 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007103/0.5621, allocations: 0.6933 MB / 0.5928 GB, free: 7.555 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.038/0.6001, allocations: 19.84 MB / 0.6121 GB, free: 3.691 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4534/1.053, allocations: 62.41 MB / 0.6731 GB, free: 80.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0207/1.074, allocations: 20.17 MB / 0.6928 GB, free: 66.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006162/1.08, allocations: 4.633 MB / 0.6973 GB, free: 64.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000397/1.081, allocations: 243.9 kB / 0.6975 GB, free: 64.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/1.081, allocations: 104.9 kB / 0.6976 GB, free: 64.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 7.995e-06/1.081, allocations: 6.516 kB / 0.6977 GB, free: 64.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.01587/1.097, allocations: 12.56 MB / 0.7099 GB, free: 58.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/1.097, allocations: 121.3 kB / 0.71 GB, free: 58.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/1.107, allocations: 8.722 MB / 0.7186 GB, free: 53.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008808/1.108, allocations: 135.9 kB / 0.7187 GB, free: 53.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002382/1.111, allocations: 4.606 MB / 0.7232 GB, free: 49.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0018/1.112, allocations: 2.263 MB / 0.7254 GB, free: 47.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007369/1.113, allocations: 0.6286 MB / 0.726 GB, free: 47.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.649e-05/1.113, allocations: 303.3 kB / 0.7263 GB, free: 46.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005272/1.118, allocations: 4.198 MB / 0.7304 GB, free: 44.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006397/1.125, allocations: 7.233 MB / 0.7375 GB, free: 38.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/1.137, allocations: 12.41 MB / 0.7496 GB, free: 25.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-05/1.137, allocations: 28 kB / 0.7496 GB, free: 25.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01626/1.153, allocations: 12.41 MB / 0.7617 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/1.153, allocations: 48 kB / 0.7618 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/1.153, allocations: 96 kB / 0.7619 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/1.154, allocations: 421.1 kB / 0.7623 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00626/1.161, allocations: 2.091 MB / 0.7643 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004501/1.165, allocations: 8.953 MB / 0.7731 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006628/1.172, allocations: 1.396 MB / 0.7744 GB, free: 15.81 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.173, allocations: 399.9 kB / 0.7748 GB, free: 15.42 MB / 0.4982 GB 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 (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.007741/1.181, allocations: 4.662 MB / 0.7793 GB, free: 10.85 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/1.182, allocations: 0.7213 MB / 0.7801 GB, free: 10.12 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/1.198, allocations: 11.06 MB / 0.7909 GB, free: 14.96 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-05/1.198, allocations: 68 kB / 0.7909 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.198, allocations: 0 / 0.7909 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.667e-05/1.198, allocations: 31.88 kB / 0.7909 GB, free: 14.86 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3451/1.543, allocations: 159.2 MB / 0.9464 GB, free: 105.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001052/1.543, allocations: 88 kB / 0.9465 GB, free: 105.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004924/1.548, allocations: 1.573 MB / 0.9481 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006977/1.549, allocations: 380.6 kB / 0.9484 GB, free: 103.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004307/1.549, allocations: 248 kB / 0.9487 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/1.554, allocations: 8.812 MB / 0.9573 GB, free: 93.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.317e-05/1.554, allocations: 139.4 kB / 0.9574 GB, free: 93.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/1.572, allocations: 18.86 MB / 0.9758 GB, free: 72.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003728/1.576, allocations: 2.051 MB / 0.9778 GB, free: 70.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.577, allocations: 255.9 kB / 0.9781 GB, free: 70.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00463/1.582, allocations: 0.5659 MB / 0.9786 GB, free: 70 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008697/1.583, allocations: 0.7458 MB / 0.9793 GB, free: 69.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003992/1.583, allocations: 314.7 kB / 0.9796 GB, free: 68.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007597/1.591, allocations: 6.121 MB / 0.9856 GB, free: 62.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.71e-07/1.591, allocations: 0 / 0.9856 GB, free: 62.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008669/1.599, allocations: 2.672 MB / 0.9882 GB, free: 60.16 MB / 0.545 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 (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.01916/1.619, allocations: 19.78 MB / 1.008 GB, free: 38.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01336/1.632, allocations: 10.62 MB / 1.018 GB, free: 27.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-05/1.632, allocations: 12.81 kB / 1.018 GB, free: 27.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007206/1.639, allocations: 5.525 MB / 1.023 GB, free: 21.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08439/1.724, allocations: 1.502 MB / 1.025 GB, free: 20.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3794/2.103, allocations: 151.7 MB / 1.173 GB, free: 62.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008144/2.111, allocations: 7.882 MB / 1.181 GB, free: 56.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008768/2.12, allocations: 3.659 MB / 1.184 GB, free: 52.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006403/2.126, allocations: 4.229 MB / 1.188 GB, free: 48.66 MB / 0.545 GB Notification: Performance of SimCode: time 1.342e-06/2.127, allocations: 0 / 1.188 GB, free: 48.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4151/2.542, allocations: 190.6 MB / 1.374 GB, free: 59.49 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/2.542, allocations: 241.8 kB / 1.375 GB, free: 59.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.585/8.127, allocations: 0 / 1.375 GB, free: 59.23 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches