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.001794/0.001794, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002047/0.002047, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.57/1.57, 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.2385/0.2385, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.002226/0.002226, allocations: 75.89 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3254, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008749/0.3341, allocations: 6.579 MB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005047/0.3392, allocations: 2.232 MB / 0.5697 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005437/0.3397, allocations: 27.94 kB / 0.5697 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004058/0.3438, allocations: 1.621 MB / 0.5713 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.3458, allocations: 0.6912 MB / 0.572 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.3475, allocations: 0.7177 MB / 0.5727 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.349, allocations: 1.245 MB / 0.5739 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.3504, allocations: 0.8591 MB / 0.5747 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.3511, allocations: 0.5176 MB / 0.5752 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007435/0.3519, allocations: 0.5949 MB / 0.5758 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.352, allocations: 104 kB / 0.5759 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006523/0.3527, allocations: 291.8 kB / 0.5762 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.3529, allocations: 266.9 kB / 0.5764 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004886/0.3534, allocations: 0.4937 MB / 0.5769 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.3552, allocations: 1.622 MB / 0.5785 GB, free: 2.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3552, allocations: 4 kB / 0.5785 GB, free: 2.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3552, allocations: 3.938 kB / 0.5785 GB, free: 2.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.3552, allocations: 0 / 0.5785 GB, free: 2.215 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.004375/0.3596, allocations: 1.753 MB / 0.5802 GB, free: 436 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3596, allocations: 8.031 kB / 0.5802 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00962/0.3692, allocations: 1.276 MB / 0.5815 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.3703, allocations: 0.5079 MB / 0.582 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.513e-05/0.3704, allocations: 99.03 kB / 0.5821 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.3706, allocations: 136.1 kB / 0.5822 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/0.3737, allocations: 1.421 MB / 0.5836 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.044e-05/0.3738, allocations: 7.984 kB / 0.5836 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.3739, allocations: 52 kB / 0.5836 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.3739, allocations: 32 kB / 0.5837 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004048/0.378, allocations: 1.443 MB / 0.5851 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.3883, allocations: 3.603 MB / 0.5886 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.391, allocations: 0.8139 MB / 0.5894 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008819/0.3918, allocations: 332.2 kB / 0.5897 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.392, allocations: 40.91 kB / 0.5898 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/0.392, allocations: 43.56 kB / 0.5898 GB, free: 6.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 4.248e-06/0.3921, allocations: 4 kB / 0.5898 GB, free: 6.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.003299/0.3954, allocations: 1.025 MB / 0.5908 GB, free: 5.379 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.3954, allocations: 64.41 kB / 0.5909 GB, free: 5.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009314/0.3963, allocations: 0.5093 MB / 0.5914 GB, free: 4.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/0.3964, allocations: 53.58 kB / 0.5914 GB, free: 4.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/0.3969, allocations: 0.5427 MB / 0.5919 GB, free: 4.176 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/0.3973, allocations: 325.2 kB / 0.5923 GB, free: 3.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004852/0.3978, allocations: 202.8 kB / 0.5924 GB, free: 3.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.3981, allocations: 374.7 kB / 0.5928 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.3991, allocations: 350.5 kB / 0.5931 GB, free: 2.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.4003, allocations: 0.6192 MB / 0.5937 GB, free: 2.199 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.4026, allocations: 0.9953 MB / 0.5947 GB, free: 1.094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.4026, allocations: 4 kB / 0.5947 GB, free: 1.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002535/0.4052, allocations: 1.162 MB / 0.5959 GB, free: 15.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.4052, allocations: 10.5 kB / 0.5959 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.4052, allocations: 8 kB / 0.5959 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/0.4055, allocations: 78.2 kB / 0.5959 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.4065, allocations: 263.6 kB / 0.5962 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.409, allocations: 2.568 MB / 0.5987 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008591/0.4099, allocations: 119.1 kB / 0.5988 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.349e-05/0.41, allocations: 51.98 kB / 0.5989 GB, free: 12.62 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.0005647/0.4106, allocations: 265.4 kB / 0.5991 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.4107, allocations: 63.62 kB / 0.5992 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.4127, allocations: 1.081 MB / 0.6002 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.4127, allocations: 16 kB / 0.6003 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4127, allocations: 0 / 0.6003 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.4128, allocations: 7.969 kB / 0.6003 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/0.4164, allocations: 2.103 MB / 0.6023 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.4164, allocations: 4 kB / 0.6023 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/0.4172, allocations: 183.7 kB / 0.6025 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.4174, allocations: 66.36 kB / 0.6026 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.4175, allocations: 31.92 kB / 0.6026 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.4196, allocations: 2.568 MB / 0.6051 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/0.4196, allocations: 11.94 kB / 0.6051 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.422, allocations: 1.458 MB / 0.6065 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.4221, allocations: 83.48 kB / 0.6066 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.4222, allocations: 27.94 kB / 0.6066 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.4228, allocations: 47.97 kB / 0.6067 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.423, allocations: 80.41 kB / 0.6068 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.423, allocations: 35.98 kB / 0.6068 GB, free: 4.031 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004369/0.4235, allocations: 355.1 kB / 0.6071 GB, free: 3.684 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4235, allocations: 4 kB / 0.6071 GB, free: 3.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001027/0.4245, allocations: 343.1 kB / 0.6075 GB, free: 3.344 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.0002777/0.4248, allocations: 170.9 kB / 0.6076 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.4267, allocations: 1.047 MB / 0.6086 GB, free: 2.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.4267, allocations: 7.938 kB / 0.6087 GB, free: 2.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009453/0.4276, allocations: 0.5912 MB / 0.6092 GB, free: 1.469 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.4283, allocations: 101.9 kB / 0.6093 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.4315, allocations: 1.838 MB / 0.6111 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.4319, allocations: 427.5 kB / 0.6115 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000506/0.4324, allocations: 129.8 kB / 0.6117 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.4326, allocations: 79.41 kB / 0.6117 GB, free: 14.78 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4326, allocations: 0 / 0.6117 GB, free: 14.78 MB / 462.1 MB Notification: Performance of Templates: time 0.01947/0.4521, allocations: 10.16 MB / 0.6217 GB, free: 4.742 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.81119185872376]