Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 205.8 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2514/0.2514, allocations: 46.95 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.34, allocations: 66.04 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009035/0.349, allocations: 6.579 MB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004499/0.3535, allocations: 2.224 MB / 0.5697 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004106/0.3539, allocations: 31.88 kB / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004187/0.3581, allocations: 1.622 MB / 0.5713 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.3601, allocations: 0.6911 MB / 0.572 GB, free: 9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.3619, allocations: 0.7063 MB / 0.5727 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.3637, allocations: 1.249 MB / 0.5739 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.3653, allocations: 0.8708 MB / 0.5747 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009081/0.3662, allocations: 0.5254 MB / 0.5752 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007919/0.367, allocations: 0.673 MB / 0.5759 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.3671, allocations: 104 kB / 0.576 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.3678, allocations: 299.8 kB / 0.5763 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.368, allocations: 278.9 kB / 0.5766 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.3685, allocations: 497.6 kB / 0.577 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.3705, allocations: 1.619 MB / 0.5786 GB, free: 2.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3705, allocations: 0 / 0.5786 GB, free: 2.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3705, allocations: 0 / 0.5786 GB, free: 2.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.3705, allocations: 0 / 0.5786 GB, free: 2.16 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00466/0.3751, allocations: 1.765 MB / 0.5803 GB, free: 368 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3752, allocations: 8.031 kB / 0.5803 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009762/0.385, allocations: 1.276 MB / 0.5816 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3861, allocations: 0.5001 MB / 0.5821 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.23e-05/0.3862, allocations: 99.03 kB / 0.5822 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.3864, allocations: 152 kB / 0.5823 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.3889, allocations: 1.421 MB / 0.5837 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.3889, allocations: 4 kB / 0.5837 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.3891, allocations: 52 kB / 0.5838 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.3891, allocations: 32 kB / 0.5838 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.3916, allocations: 1.439 MB / 0.5852 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007595/0.3992, allocations: 3.61 MB / 0.5887 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.4011, allocations: 0.81 MB / 0.5895 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/0.4017, allocations: 336.2 kB / 0.5898 GB, free: 6.434 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.4018, allocations: 40.91 kB / 0.5899 GB, free: 6.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.4019, allocations: 43.5 kB / 0.5899 GB, free: 6.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.585e-06/0.4019, allocations: 0 / 0.5899 GB, free: 6.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002371/0.4043, allocations: 1.029 MB / 0.5909 GB, free: 5.305 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.4043, allocations: 68.34 kB / 0.591 GB, free: 5.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/0.405, allocations: 0.5054 MB / 0.5915 GB, free: 4.711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.405, allocations: 41.7 kB / 0.5915 GB, free: 4.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.4054, allocations: 0.5505 MB / 0.5921 GB, free: 4.105 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.4057, allocations: 321.2 kB / 0.5924 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.406, allocations: 202.8 kB / 0.5925 GB, free: 3.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4062, allocations: 374.7 kB / 0.5929 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006726/0.4069, allocations: 354.5 kB / 0.5932 GB, free: 2.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009658/0.4079, allocations: 0.6231 MB / 0.5939 GB, free: 2.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.4095, allocations: 0.9875 MB / 0.5948 GB, free: 1.023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.4095, allocations: 7.938 kB / 0.5948 GB, free: 1.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002192/0.4117, allocations: 1.167 MB / 0.596 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4117, allocations: 8 kB / 0.596 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.4118, allocations: 8 kB / 0.596 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.4121, allocations: 69.61 kB / 0.596 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.4132, allocations: 267.6 kB / 0.5963 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.4155, allocations: 2.564 MB / 0.5988 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.4163, allocations: 115.1 kB / 0.5989 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/0.4164, allocations: 52.27 kB / 0.599 GB, free: 12.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.0004615/0.4169, allocations: 265.5 kB / 0.5992 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.417, allocations: 75.53 kB / 0.5993 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.419, allocations: 1.077 MB / 0.6003 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.419, allocations: 12 kB / 0.6004 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4191, allocations: 0 / 0.6004 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.4191, allocations: 3.984 kB / 0.6004 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/0.4228, allocations: 2.112 MB / 0.6024 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.4228, allocations: 4 kB / 0.6024 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007916/0.4236, allocations: 183.7 kB / 0.6026 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/0.4238, allocations: 65.67 kB / 0.6027 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.4239, allocations: 27.94 kB / 0.6027 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.4261, allocations: 2.568 MB / 0.6052 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.4261, allocations: 11.94 kB / 0.6052 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.4286, allocations: 1.459 MB / 0.6066 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.4287, allocations: 79.42 kB / 0.6067 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.4288, allocations: 27.98 kB / 0.6067 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/0.4295, allocations: 48.05 kB / 0.6068 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.4296, allocations: 84.41 kB / 0.6069 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.4297, allocations: 31.98 kB / 0.6069 GB, free: 3.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005154/0.4302, allocations: 355.1 kB / 0.6072 GB, free: 3.621 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4302, allocations: 0 / 0.6072 GB, free: 3.621 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001107/0.4313, allocations: 347.1 kB / 0.6076 GB, free: 3.281 MB / 446.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 (93): * Single equations (assignments): 91 * 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.0003393/0.4316, allocations: 170.9 kB / 0.6077 GB, free: 3.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.4337, allocations: 1.058 MB / 0.6088 GB, free: 2.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4337, allocations: 4 kB / 0.6088 GB, free: 2.016 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009485/0.4346, allocations: 0.5892 MB / 0.6093 GB, free: 1.398 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.4353, allocations: 101.8 kB / 0.6094 GB, free: 1.301 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.4386, allocations: 1.837 MB / 0.6112 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.4391, allocations: 427.5 kB / 0.6116 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004977/0.4396, allocations: 125.9 kB / 0.6118 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.4398, allocations: 79.41 kB / 0.6118 GB, free: 14.71 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4398, allocations: 0 / 0.6118 GB, free: 14.71 MB / 462.1 MB Notification: Performance of Templates: time 0.01964/0.4595, allocations: 10.48 MB / 0.6221 GB, free: 4.355 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.821081416681409]