Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_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.0006489/0.0006492, allocations: 88.16 kB / 16.01 MB, free: 92 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.0008481/0.0008482, allocations: 184.5 kB / 16.92 MB, free: 6.68 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.305/1.305, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.3042/0.3042, allocations: 43.57 MB / 315 MB, free: 8.727 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.0005067/0.0005067, allocations: 24 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00636/0.1142, allocations: 6.382 MB / 449.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004049/0.1183, allocations: 2.148 MB / 452.1 MB, free: 4.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008632/0.1192, allocations: 27.94 kB / 452.1 MB, free: 3.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.1202, allocations: 318.5 kB / 452.4 MB, free: 3.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.1227, allocations: 0.7816 MB / 453.2 MB, free: 2.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.1241, allocations: 0.5184 MB / 453.7 MB, free: 2.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.1258, allocations: 1.132 MB / 454.8 MB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1903/0.3161, allocations: 1.438 MB / 456.3 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009158/0.317, allocations: 421.4 kB / 456.7 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008095/0.3179, allocations: 0.5459 MB / 457.2 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.3181, allocations: 48.41 kB / 457.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000799/0.319, allocations: 226.4 kB / 457.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.3192, allocations: 203.1 kB / 457.7 MB, free: 35.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.3198, allocations: 0.5297 MB / 458.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.3211, allocations: 1.389 MB / 459.6 MB, free: 35.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3212, allocations: 0 / 459.6 MB, free: 35.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3212, allocations: 0 / 459.6 MB, free: 35.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.3212, allocations: 0.8125 kB / 459.6 MB, free: 35.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00325/0.3244, allocations: 1.486 MB / 461.1 MB, free: 34.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3245, allocations: 12.12 kB / 461.1 MB, free: 34.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.3247, allocations: 189.1 kB / 461.3 MB, free: 34.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009613/0.3343, allocations: 1.436 MB / 462.7 MB, free: 34.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/0.3351, allocations: 0.5376 MB / 463.3 MB, free: 34.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.511e-05/0.3352, allocations: 99.17 kB / 463.4 MB, free: 34.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.3354, allocations: 121.8 kB / 463.5 MB, free: 34.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.3372, allocations: 1.195 MB / 464.7 MB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.3373, allocations: 3.438 kB / 464.7 MB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.3374, allocations: 49.03 kB / 464.7 MB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.3374, allocations: 29.97 kB / 464.8 MB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.3395, allocations: 1.445 MB / 466.2 MB, free: 34.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006076/0.3456, allocations: 4.87 MB / 471.1 MB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.3472, allocations: 1.208 MB / 472.3 MB, free: 32.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.3477, allocations: 381 kB / 472.7 MB, free: 32.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.017e-05/0.3478, allocations: 100.2 kB / 472.8 MB, free: 31.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.3479, allocations: 41.97 kB / 472.8 MB, free: 31.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.725e-06/0.3479, allocations: 0 / 472.8 MB, free: 31.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.001859/0.3497, allocations: 1.215 MB / 474 MB, free: 31.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.3498, allocations: 62.38 kB / 474.1 MB, free: 31.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/0.3506, allocations: 0.805 MB / 474.9 MB, free: 31.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.3506, allocations: 41.02 kB / 474.9 MB, free: 31.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.3508, allocations: 479.6 kB / 475.4 MB, free: 30.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.351, allocations: 314.9 kB / 475.7 MB, free: 30.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.3511, allocations: 92.33 kB / 475.8 MB, free: 30.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.3512, allocations: 395.1 kB / 476.2 MB, free: 30.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.3517, allocations: 353.8 kB / 476.5 MB, free: 30.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.3523, allocations: 0.6151 MB / 477.1 MB, free: 29.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.3534, allocations: 0.9892 MB / 478.1 MB, free: 29.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3535, allocations: 3.281 kB / 478.1 MB, free: 29.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00166/0.3551, allocations: 1.178 MB / 479.3 MB, free: 28.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3552, allocations: 16.75 kB / 479.3 MB, free: 28.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3552, allocations: 5.75 kB / 479.3 MB, free: 28.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.3554, allocations: 64.58 kB / 479.4 MB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008945/0.3563, allocations: 266.2 kB / 479.7 MB, free: 28.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.3577, allocations: 2.618 MB / 482.3 MB, free: 25.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008017/0.3585, allocations: 162.2 kB / 482.4 MB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.3586, allocations: 53.84 kB / 482.5 MB, free: 25.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003051/0.3589, allocations: 250.6 kB / 482.7 MB, free: 25.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.359, allocations: 92.5 kB / 482.8 MB, free: 25.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.3606, allocations: 1.119 MB / 483.9 MB, free: 25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3606, allocations: 9.312 kB / 483.9 MB, free: 25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3606, allocations: 0 / 483.9 MB, free: 25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3606, allocations: 6.562 kB / 484 MB, free: 25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/0.3634, allocations: 2.74 MB / 486.7 MB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3634, allocations: 9.906 kB / 486.7 MB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/0.364, allocations: 180.1 kB / 486.9 MB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.3642, allocations: 61.98 kB / 486.9 MB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.3643, allocations: 31.45 kB / 487 MB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.3655, allocations: 2.63 MB / 489.6 MB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.3655, allocations: 9.312 kB / 489.6 MB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.3675, allocations: 1.495 MB / 491.1 MB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.3677, allocations: 218.9 kB / 491.3 MB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3678, allocations: 22.84 kB / 491.3 MB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.3685, allocations: 59.41 kB / 491.4 MB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3687, allocations: 77.55 kB / 491.5 MB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.3687, allocations: 41.09 kB / 491.5 MB, free: 19.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007008/0.3694, allocations: 0.5602 MB / 492.1 MB, free: 19.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3694, allocations: 4 kB / 492.1 MB, free: 19.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009915/0.3704, allocations: 298 kB / 492.4 MB, free: 19.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.002413/0.3728, allocations: 2.107 MB / 494.5 MB, free: 17.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.3747, allocations: 1.093 MB / 495.6 MB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.3747, allocations: 6.562 kB / 495.6 MB, free: 17.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000835/0.3756, allocations: 0.6265 MB / 496.2 MB, free: 16.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.377, allocations: 120.9 kB / 496.3 MB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.3878, allocations: 9.387 MB / 0.4939 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.3884, allocations: 0.9957 MB / 0.4948 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007092/0.3892, allocations: 148.6 kB / 0.495 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/0.3896, allocations: 364.5 kB / 0.4953 GB, free: 9.742 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3896, allocations: 4 kB / 0.4953 GB, free: 9.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.4222, allocations: 17.95 MB / 0.5129 GB, free: 2.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/0.4224, allocations: 250.9 kB / 0.5131 GB, free: 2.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.45, allocations: 0 / 0.5131 GB, free: 2.508 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches