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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 114.7 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 191.7 kB / 20.07 MB, free: 2.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3523/0.3523, allocations: 44.23 MB / 326.5 MB, free: 7.23 MB / 254.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.00228/0.00228, allocations: 75.83 kB / 462.2 MB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2932, allocations: 60.98 MB / 0.5109 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00616/0.2993, allocations: 6.968 MB / 0.5177 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003668/0.303, allocations: 2.206 MB / 0.5198 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.3035, allocations: 27.94 kB / 0.5199 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.3062, allocations: 1.529 MB / 0.5214 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.3079, allocations: 0.8594 MB / 0.5222 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009942/0.3089, allocations: 0.5842 MB / 0.5228 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.3099, allocations: 1.186 MB / 0.5239 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/0.3107, allocations: 0.6196 MB / 0.5245 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.3111, allocations: 494 kB / 0.525 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.3116, allocations: 0.6146 MB / 0.5256 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.3118, allocations: 96 kB / 0.5257 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008951/0.3127, allocations: 283.7 kB / 0.526 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.3129, allocations: 262.9 kB / 0.5262 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006995/0.3136, allocations: 0.5675 MB / 0.5268 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.316, allocations: 1.474 MB / 0.5282 GB, free: 13.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.316, allocations: 0 / 0.5282 GB, free: 13.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.316, allocations: 0 / 0.5282 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3e-05/0.3161, allocations: 3.984 kB / 0.5282 GB, free: 13.2 MB / 398.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.004378/0.3205, allocations: 1.735 MB / 0.5299 GB, free: 11.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.3205, allocations: 15.89 kB / 0.5299 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/0.3207, allocations: 182.1 kB / 0.5301 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.331, allocations: 1.428 MB / 0.5315 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.3323, allocations: 0.5522 MB / 0.532 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.938e-05/0.3324, allocations: 90.48 kB / 0.5321 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.3326, allocations: 124 kB / 0.5322 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.3348, allocations: 1.185 MB / 0.5334 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.3349, allocations: 7.953 kB / 0.5334 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.335, allocations: 52 kB / 0.5335 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.335, allocations: 35.94 kB / 0.5335 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.3375, allocations: 1.431 MB / 0.5349 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008172/0.3456, allocations: 4.823 MB / 0.5396 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.3477, allocations: 1.14 MB / 0.5407 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.3482, allocations: 336.2 kB / 0.541 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.3484, allocations: 94.09 kB / 0.5411 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.3484, allocations: 51.5 kB / 0.5412 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.685e-06/0.3484, allocations: 0 / 0.5412 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002434/0.3509, allocations: 1.207 MB / 0.5424 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.3509, allocations: 64.41 kB / 0.5424 GB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.352, allocations: 0.7973 MB / 0.5432 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.352, allocations: 41.7 kB / 0.5432 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.3524, allocations: 492.1 kB / 0.5437 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.3527, allocations: 325.2 kB / 0.544 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.353, allocations: 202.8 kB / 0.5442 GB, free: 12.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.3533, allocations: 398.7 kB / 0.5446 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.3539, allocations: 346.4 kB / 0.5449 GB, free: 11.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008673/0.3548, allocations: 0.5985 MB / 0.5455 GB, free: 10.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.3563, allocations: 0.9788 MB / 0.5465 GB, free: 9.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3563, allocations: 4 kB / 0.5465 GB, free: 9.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002151/0.3584, allocations: 1.178 MB / 0.5476 GB, free: 8.453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.3585, allocations: 8 kB / 0.5476 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3585, allocations: 8 kB / 0.5476 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.3588, allocations: 70.05 kB / 0.5477 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.3598, allocations: 263.6 kB / 0.5479 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.3623, allocations: 2.832 MB / 0.5507 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008359/0.3631, allocations: 154.8 kB / 0.5509 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/0.3632, allocations: 48 kB / 0.5509 GB, free: 4.793 MB / 414.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.0004133/0.3636, allocations: 257.5 kB / 0.5511 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.3637, allocations: 95.39 kB / 0.5512 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.3657, allocations: 1.099 MB / 0.5523 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.3657, allocations: 12 kB / 0.5523 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3657, allocations: 11.94 kB / 0.5523 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.3657, allocations: 7.969 kB / 0.5523 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.3697, allocations: 2.722 MB / 0.555 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.3697, allocations: 4 kB / 0.555 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.3704, allocations: 184.5 kB / 0.5552 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/0.3706, allocations: 65.67 kB / 0.5552 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.3707, allocations: 24 kB / 0.5553 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.3731, allocations: 2.817 MB / 0.558 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/0.3731, allocations: 11.88 kB / 0.558 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.3755, allocations: 1.49 MB / 0.5595 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.3758, allocations: 204.1 kB / 0.5597 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.3759, allocations: 31.94 kB / 0.5597 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.3765, allocations: 47.98 kB / 0.5598 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.3767, allocations: 88.44 kB / 0.5598 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/0.3767, allocations: 36 kB / 0.5599 GB, free: 10.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007662/0.3775, allocations: 0.5615 MB / 0.5604 GB, free: 10.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3775, allocations: 0 / 0.5604 GB, free: 10.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009521/0.3785, allocations: 295.7 kB / 0.5607 GB, free: 10.08 MB / 430.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.002904/0.3814, allocations: 2.092 MB / 0.5627 GB, free: 7.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.3834, allocations: 1.051 MB / 0.5638 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3834, allocations: 0 / 0.5638 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009775/0.3844, allocations: 0.5924 MB / 0.5644 GB, free: 6.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008058/0.3852, allocations: 126.8 kB / 0.5645 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.3981, allocations: 8.316 MB / 0.5726 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/0.3988, allocations: 0.9962 MB / 0.5736 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006616/0.3995, allocations: 155.6 kB / 0.5737 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/0.4, allocations: 367.3 kB / 0.5741 GB, free: 11.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4, allocations: 0 / 0.5741 GB, free: 11.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07495/0.475, allocations: 19.3 MB / 0.5929 GB, free: 8.387 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.14, allocations: 12.73 kB / 0.5929 GB, free: 8.375 MB / 462.1 MB " [Timeout remaining time 648] (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 --stepSize=0.00019992 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.434831228107214]