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.001563/0.001563, allocations: 103.6 kB / 15.98 MB, free: 6.348 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.001577/0.001577, allocations: 189.4 kB / 16.9 MB, free: 6.184 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.546/1.546, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3471/0.3471, allocations: 43.49 MB / 313.6 MB, free: 8.242 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.001692/0.001692, allocations: 63.91 kB / 382.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1412, allocations: 57.79 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.2821/0.4234, allocations: 19.55 MB / 459.7 MB, free: 37.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.4363, allocations: 4.887 MB / 464.5 MB, free: 37.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005361/0.4417, allocations: 126.9 kB / 464.7 MB, free: 37.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01604/0.4578, allocations: 7.387 MB / 472.1 MB, free: 34.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.4684, allocations: 2.081 MB / 474.1 MB, free: 32.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004979/0.4734, allocations: 1.172 MB / 475.3 MB, free: 32.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01623/0.4896, allocations: 12.28 MB / 487.6 MB, free: 25.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05058/0.5403, allocations: 30.16 MB / 0.5056 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01177/0.5521, allocations: 6.67 MB / 0.5121 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01457/0.5667, allocations: 7.419 MB / 0.5194 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007341/0.5741, allocations: 1.734 MB / 0.5211 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009568/0.5837, allocations: 1.93 MB / 0.5229 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009257/0.5929, allocations: 3.727 MB / 0.5266 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01929/0.6122, allocations: 7.113 MB / 0.5335 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03376/0.646, allocations: 23.53 MB / 0.5565 GB, free: 10.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.6461, allocations: 0 / 0.5565 GB, free: 10.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6461, allocations: 0 / 0.5565 GB, free: 10.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009698/0.6471, allocations: 0 / 0.5565 GB, free: 10.61 MB / 430.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.05197/0.6991, allocations: 14.8 MB / 0.571 GB, free: 11.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.6992, allocations: 15.89 kB / 0.571 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00743/0.7066, allocations: 1.751 MB / 0.5727 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06491/0.7715, allocations: 12.43 MB / 0.5848 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/0.7912, allocations: 6.578 MB / 0.5913 GB, free: 6.809 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001372/0.7926, allocations: 0.9032 MB / 0.5921 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006468/0.7991, allocations: 1.187 MB / 0.5933 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05891/0.858, allocations: 19.05 MB / 0.6119 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007709/0.8589, allocations: 19.8 kB / 0.6119 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005937/0.8648, allocations: 0.496 MB / 0.6124 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000981/0.8658, allocations: 0.6895 MB / 0.6131 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5278/1.394, allocations: 19.83 MB / 0.6324 GB, free: 115.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1082/1.502, allocations: 62.22 MB / 0.6932 GB, free: 85.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01796/1.52, allocations: 20.18 MB / 0.7129 GB, free: 69.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005277/1.525, allocations: 4.627 MB / 0.7174 GB, free: 66.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004862/1.526, allocations: 242.8 kB / 0.7177 GB, free: 66.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.94e-05/1.526, allocations: 104.3 kB / 0.7178 GB, free: 66.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 9.899e-06/1.526, allocations: 0 / 0.7178 GB, free: 66.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.01618/1.542, allocations: 12.55 MB / 0.73 GB, free: 60.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/1.542, allocations: 120.5 kB / 0.7301 GB, free: 60 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/1.554, allocations: 8.721 MB / 0.7386 GB, free: 53.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004906/1.554, allocations: 133.7 kB / 0.7388 GB, free: 52.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002791/1.557, allocations: 4.607 MB / 0.7433 GB, free: 48.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00172/1.559, allocations: 2.266 MB / 0.7455 GB, free: 46.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00176/1.561, allocations: 1.506 MB / 0.747 GB, free: 44.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.759e-05/1.561, allocations: 301.1 kB / 0.7472 GB, free: 44.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004756/1.566, allocations: 4.196 MB / 0.7513 GB, free: 40.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006279/1.572, allocations: 7.229 MB / 0.7584 GB, free: 31.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/1.583, allocations: 12.4 MB / 0.7705 GB, free: 17.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.156e-05/1.583, allocations: 32 kB / 0.7705 GB, free: 17.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01552/1.599, allocations: 12.4 MB / 0.7826 GB, free: 4.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.068e-05/1.599, allocations: 51.94 kB / 0.7827 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.662e-05/1.599, allocations: 96 kB / 0.7828 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009164/1.6, allocations: 425.4 kB / 0.7832 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006127/1.606, allocations: 2.098 MB / 0.7852 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007831/1.614, allocations: 9.604 MB / 0.7946 GB, free: 7.871 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007587/1.622, allocations: 1.4 MB / 0.796 GB, free: 6.457 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007334/1.622, allocations: 399.9 kB / 0.7964 GB, free: 6.066 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.01019/1.632, allocations: 4.656 MB / 0.8009 GB, free: 1.395 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.634, allocations: 0.7175 MB / 0.8016 GB, free: 0.668 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/1.653, allocations: 11.06 MB / 0.8124 GB, free: 5.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-05/1.653, allocations: 68 kB / 0.8125 GB, free: 5.434 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.653, allocations: 8 kB / 0.8125 GB, free: 5.426 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-05/1.653, allocations: 35.86 kB / 0.8125 GB, free: 5.391 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4316/2.085, allocations: 159.2 MB / 0.968 GB, free: 65.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.826e-05/2.085, allocations: 87.78 kB / 0.9681 GB, free: 65.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004739/2.09, allocations: 1.575 MB / 0.9696 GB, free: 64.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008036/2.091, allocations: 380.6 kB / 0.97 GB, free: 63.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000427/2.091, allocations: 255.7 kB / 0.9702 GB, free: 63.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/2.096, allocations: 9.46 MB / 0.9794 GB, free: 53.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.152e-05/2.096, allocations: 135.4 kB / 0.9796 GB, free: 53.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/2.115, allocations: 18.86 MB / 0.998 GB, free: 32.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004345/2.12, allocations: 2.033 MB / 1 GB, free: 30.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/2.121, allocations: 255 kB / 1 GB, free: 30.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004646/2.126, allocations: 0.562 MB / 1.001 GB, free: 29.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/2.127, allocations: 0.7458 MB / 1.001 GB, free: 29.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004362/2.127, allocations: 314.9 kB / 1.002 GB, free: 28.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008418/2.136, allocations: 6.121 MB / 1.008 GB, free: 22.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/2.136, allocations: 4 kB / 1.008 GB, free: 22.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009773/2.145, allocations: 2.675 MB / 1.01 GB, free: 20.06 MB / 0.5294 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.0199/2.165, allocations: 19.76 MB / 1.03 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2985/2.464, allocations: 17.44 MB / 1.047 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 0.0001059/2.464, allocations: 14.78 kB / 1.047 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009614/2.474, allocations: 5.506 MB / 1.052 GB, free: 169.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/2.484, allocations: 1.501 MB / 1.054 GB, free: 168.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2196/2.704, allocations: 151.7 MB / 1.202 GB, free: 32.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/2.715, allocations: 7.888 MB / 1.209 GB, free: 24.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009083/2.724, allocations: 3.641 MB / 1.213 GB, free: 21.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005342/2.73, allocations: 4.229 MB / 1.217 GB, free: 16.92 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/2.73, allocations: 4 kB / 1.217 GB, free: 16.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.421/4.151, allocations: 197.2 MB / 1.41 GB, free: 36.23 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/4.151, allocations: 262.3 kB / 1.41 GB, free: 35.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/12.67, allocations: 4.062 kB / 1.41 GB, free: 35.95 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