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.001728/0.001728, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002329/0.002329, allocations: 166.8 kB / 24.5 MB, free: 3.457 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.471/1.471, allocations: 177.2 MB / 204.9 MB, free: 8.91 MB / 190.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.2144/0.2144, allocations: 34.27 MB / 295.5 MB, free: 14.57 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.002055/0.002055, allocations: 67.89 kB / 443.1 MB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.332, allocations: 66.01 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005868/0.3378, allocations: 6.583 MB / 0.5037 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.3413, allocations: 2.23 MB / 0.5058 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004994/0.3418, allocations: 29.34 kB / 0.5059 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003174/0.3449, allocations: 1.707 MB / 0.5075 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.3465, allocations: 0.6972 MB / 0.5082 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3478, allocations: 0.7103 MB / 0.5089 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.3488, allocations: 1.246 MB / 0.5101 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.3499, allocations: 0.8568 MB / 0.511 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006253/0.3505, allocations: 0.5211 MB / 0.5115 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.351, allocations: 0.5923 MB / 0.512 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.3512, allocations: 105.9 kB / 0.5121 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000622/0.3518, allocations: 288 kB / 0.5124 GB, free: 20.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.3519, allocations: 277.4 kB / 0.5127 GB, free: 20.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.3524, allocations: 496.9 kB / 0.5132 GB, free: 19.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.3545, allocations: 1.623 MB / 0.5147 GB, free: 19.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3545, allocations: 1.188 kB / 0.5147 GB, free: 19.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3545, allocations: 0 / 0.5147 GB, free: 19.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.3545, allocations: 4.797 kB / 0.5148 GB, free: 19.25 MB / 446.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.004551/0.359, allocations: 1.758 MB / 0.5165 GB, free: 18.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3591, allocations: 10.03 kB / 0.5165 GB, free: 18.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009768/0.3688, allocations: 1.269 MB / 0.5177 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.3702, allocations: 0.5103 MB / 0.5182 GB, free: 17.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.3703, allocations: 100.5 kB / 0.5183 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.3705, allocations: 139.4 kB / 0.5184 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.3733, allocations: 1.422 MB / 0.5198 GB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-05/0.3733, allocations: 4.25 kB / 0.5198 GB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.3734, allocations: 54.81 kB / 0.5199 GB, free: 16.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.3735, allocations: 33.28 kB / 0.5199 GB, free: 16.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.376, allocations: 1.434 MB / 0.5213 GB, free: 16.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007638/0.3837, allocations: 3.61 MB / 0.5248 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.3856, allocations: 0.813 MB / 0.5256 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/0.3862, allocations: 331.3 kB / 0.526 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.3863, allocations: 41.16 kB / 0.526 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3863, allocations: 48.78 kB / 0.526 GB, free: 13.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 4.058e-06/0.3864, allocations: 0 / 0.526 GB, free: 13.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002423/0.3888, allocations: 1.036 MB / 0.5271 GB, free: 13.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3888, allocations: 61.78 kB / 0.5271 GB, free: 13.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000734/0.3896, allocations: 0.5094 MB / 0.5276 GB, free: 13.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.3896, allocations: 46.27 kB / 0.5277 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.39, allocations: 0.5451 MB / 0.5282 GB, free: 12.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.3902, allocations: 330.5 kB / 0.5285 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.3906, allocations: 200.5 kB / 0.5287 GB, free: 12.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3907, allocations: 375.9 kB / 0.5291 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007109/0.3915, allocations: 346.6 kB / 0.5294 GB, free: 11.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/0.3923, allocations: 0.621 MB / 0.53 GB, free: 11.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.3937, allocations: 0.9901 MB / 0.531 GB, free: 10.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3937, allocations: 2.031 kB / 0.531 GB, free: 10.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002191/0.3959, allocations: 1.163 MB / 0.5321 GB, free: 10.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.3959, allocations: 8.25 kB / 0.5321 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.3959, allocations: 9.047 kB / 0.5321 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/0.3962, allocations: 72.41 kB / 0.5322 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3973, allocations: 270 kB / 0.5324 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.3988, allocations: 2.576 MB / 0.535 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.3997, allocations: 115.1 kB / 0.5351 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.3998, allocations: 49.41 kB / 0.5351 GB, free: 7.434 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.0005656/0.4003, allocations: 265.3 kB / 0.5354 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.4005, allocations: 64.52 kB / 0.5354 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.4027, allocations: 1.084 MB / 0.5365 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.4027, allocations: 8.688 kB / 0.5365 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4027, allocations: 1.844 kB / 0.5365 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.4027, allocations: 8.969 kB / 0.5365 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.4061, allocations: 2.101 MB / 0.5386 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.4061, allocations: 5.156 kB / 0.5386 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/0.4069, allocations: 181.1 kB / 0.5387 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.4071, allocations: 63.66 kB / 0.5388 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.4071, allocations: 32.91 kB / 0.5388 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.4084, allocations: 2.568 MB / 0.5413 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.4084, allocations: 15 kB / 0.5413 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.4105, allocations: 1.452 MB / 0.5428 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.4107, allocations: 85.19 kB / 0.5428 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.4108, allocations: 28.77 kB / 0.5429 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006103/0.4114, allocations: 53.19 kB / 0.5429 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.4115, allocations: 83.56 kB / 0.543 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.4116, allocations: 36.72 kB / 0.543 GB, free: 1.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003957/0.412, allocations: 350.2 kB / 0.5434 GB, free: 1.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.412, allocations: 1.156 kB / 0.5434 GB, free: 1.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001177/0.4132, allocations: 347.9 kB / 0.5437 GB, free: 1.609 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.0002504/0.4134, allocations: 172.7 kB / 0.5439 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.4153, allocations: 1.046 MB / 0.5449 GB, free: 0.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.4153, allocations: 9.297 kB / 0.5449 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008296/0.4161, allocations: 0.5945 MB / 0.5455 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006663/0.4168, allocations: 90.3 kB / 0.5456 GB, free: 0.543 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.42, allocations: 1.85 MB / 0.5474 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.4205, allocations: 424.1 kB / 0.5478 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005254/0.421, allocations: 128.3 kB / 0.5479 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.4212, allocations: 76.48 kB / 0.548 GB, free: 15.23 MB / 462.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4212, allocations: 0 / 0.548 GB, free: 15.23 MB / 462.1 MB Notification: Performance of Templates: time 0.01916/0.4404, allocations: 8.94 MB / 0.5567 GB, free: 7.516 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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.446628039935604]