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.004648/0.004652, allocations: 100.3 kB / 15.87 MB, free: 6.316 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.001165/0.001165, allocations: 193.1 kB / 16.79 MB, free: 6.242 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.174/1.174, allocations: 205.1 MB / 222.6 MB, free: 4.746 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.2861/0.2861, allocations: 43.5 MB / 313.5 MB, free: 8.504 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.001286/0.001286, allocations: 60.47 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1059, allocations: 57.79 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.1684/0.2743, allocations: 19.55 MB / 459.5 MB, free: 37.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00738/0.2818, allocations: 4.907 MB / 464.4 MB, free: 37.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.2837, allocations: 125.2 kB / 464.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.2944, allocations: 7.39 MB / 471.9 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004653/0.299, allocations: 2.105 MB / 474 MB, free: 33.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.3013, allocations: 1.182 MB / 475.2 MB, free: 32.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007977/0.3093, allocations: 12.7 MB / 487.9 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02438/0.3337, allocations: 21.87 MB / 0.4978 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006979/0.3407, allocations: 5.771 MB / 0.5034 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.3508, allocations: 7.08 MB / 0.5103 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00282/0.3537, allocations: 1.234 MB / 0.5116 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003987/0.3577, allocations: 1.422 MB / 0.5129 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002306/0.36, allocations: 3.183 MB / 0.516 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007698/0.3677, allocations: 6.555 MB / 0.5225 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01739/0.3851, allocations: 23.15 MB / 0.5451 GB, free: 6.402 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3851, allocations: 4 kB / 0.5451 GB, free: 6.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3851, allocations: 0 / 0.5451 GB, free: 6.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004397/0.3856, allocations: 0 / 0.5451 GB, free: 6.398 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.03635/0.4219, allocations: 14.79 MB / 0.5595 GB, free: 7.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.422, allocations: 15.97 kB / 0.5595 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004367/0.4264, allocations: 1.759 MB / 0.5612 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06006/0.4864, allocations: 12.43 MB / 0.5734 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.4987, allocations: 6.574 MB / 0.5798 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007203/0.4994, allocations: 0.9032 MB / 0.5807 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00375/0.5032, allocations: 1.183 MB / 0.5818 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03955/0.5428, allocations: 19.05 MB / 0.6004 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002785/0.5431, allocations: 23.8 kB / 0.6005 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/0.5446, allocations: 0.496 MB / 0.6009 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005436/0.5451, allocations: 0.6895 MB / 0.6016 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03364/0.5788, allocations: 19.84 MB / 0.621 GB, free: 8.348 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4117/0.9905, allocations: 62.22 MB / 0.6817 GB, free: 78.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/1.008, allocations: 20.17 MB / 0.7014 GB, free: 63.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005846/1.014, allocations: 4.62 MB / 0.706 GB, free: 60.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000546/1.015, allocations: 239.7 kB / 0.7062 GB, free: 60.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.544e-05/1.015, allocations: 108.3 kB / 0.7063 GB, free: 60.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 8.656e-06/1.015, allocations: 3.5 kB / 0.7063 GB, free: 60.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.01647/1.031, allocations: 12.54 MB / 0.7185 GB, free: 53.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/1.032, allocations: 125.9 kB / 0.7187 GB, free: 53.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/1.044, allocations: 8.72 MB / 0.7272 GB, free: 48.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000731/1.044, allocations: 133.7 kB / 0.7273 GB, free: 48.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002576/1.047, allocations: 4.6 MB / 0.7318 GB, free: 43.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.048, allocations: 2.269 MB / 0.734 GB, free: 41.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002664/1.051, allocations: 1.506 MB / 0.7355 GB, free: 40.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.301e-05/1.051, allocations: 305.1 kB / 0.7358 GB, free: 39.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005033/1.056, allocations: 4.192 MB / 0.7399 GB, free: 35.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006023/1.062, allocations: 7.228 MB / 0.7469 GB, free: 27.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.074, allocations: 12.39 MB / 0.759 GB, free: 13.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.924e-05/1.074, allocations: 29.53 kB / 0.7591 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01563/1.089, allocations: 12.41 MB / 0.7712 GB, free: 1.684 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/1.089, allocations: 48 kB / 0.7712 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.09, allocations: 100 kB / 0.7713 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008805/1.09, allocations: 432.1 kB / 0.7717 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006236/1.097, allocations: 2.089 MB / 0.7738 GB, free: 15.14 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006289/1.103, allocations: 8.951 MB / 0.7825 GB, free: 5.477 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006078/1.109, allocations: 1.404 MB / 0.7839 GB, free: 4.059 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008601/1.11, allocations: 396 kB / 0.7843 GB, free: 3.672 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.006961/1.117, allocations: 4.658 MB / 0.7888 GB, free: 15.01 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001341/1.118, allocations: 0.7137 MB / 0.7895 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.134, allocations: 11.05 MB / 0.8003 GB, free: 3.125 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-05/1.135, allocations: 68 kB / 0.8004 GB, free: 3.059 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/1.135, allocations: 4 kB / 0.8004 GB, free: 3.055 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.495e-05/1.135, allocations: 37.72 kB / 0.8004 GB, free: 3.02 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3465/1.481, allocations: 159.2 MB / 0.9559 GB, free: 94.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000266/1.481, allocations: 84 kB / 0.9559 GB, free: 94.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00519/1.487, allocations: 1.579 MB / 0.9575 GB, free: 93.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008313/1.488, allocations: 384.5 kB / 0.9578 GB, free: 92.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008962/1.488, allocations: 252 kB / 0.9581 GB, free: 92.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004391/1.493, allocations: 8.805 MB / 0.9667 GB, free: 82.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.918e-05/1.493, allocations: 135.4 kB / 0.9668 GB, free: 82.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/1.51, allocations: 18.85 MB / 0.9852 GB, free: 62.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003805/1.514, allocations: 2.038 MB / 0.9872 GB, free: 60.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/1.515, allocations: 251.8 kB / 0.9874 GB, free: 60.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004343/1.52, allocations: 0.562 MB / 0.988 GB, free: 59.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008768/1.521, allocations: 0.7458 MB / 0.9887 GB, free: 58.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004004/1.521, allocations: 312 kB / 0.989 GB, free: 58.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007302/1.528, allocations: 6.113 MB / 0.995 GB, free: 52.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.3e-07/1.528, allocations: 0 / 0.995 GB, free: 52.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008588/1.537, allocations: 2.683 MB / 0.9976 GB, free: 49.64 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.01794/1.555, allocations: 19.77 MB / 1.017 GB, free: 27.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01223/1.567, allocations: 10.6 MB / 1.027 GB, free: 17.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.03e-05/1.567, allocations: 20.19 kB / 1.027 GB, free: 17.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.1683/1.736, allocations: 5.501 MB / 1.033 GB, free: 167 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008597/1.744, allocations: 1.469 MB / 1.034 GB, free: 166.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1859/1.93, allocations: 151.6 MB / 1.182 GB, free: 53.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009988/1.94, allocations: 7.885 MB / 1.19 GB, free: 45.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009811/1.95, allocations: 3.657 MB / 1.193 GB, free: 42.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007438/1.957, allocations: 4.233 MB / 1.198 GB, free: 38.08 MB / 0.545 GB Notification: Performance of SimCode: time 1.453e-06/1.957, allocations: 0 / 1.198 GB, free: 38.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4443/2.402, allocations: 193.4 MB / 1.386 GB, free: 51.87 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/2.402, allocations: 242.4 kB / 1.387 GB, free: 51.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.376/7.778, allocations: 0 / 1.387 GB, free: 51.62 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