Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001714/0.001714, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002357/0.002357, allocations: 204.1 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.69/1.69, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2598/0.2598, allocations: 46.89 MB / 361.1 MB, free: 4.641 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 79.88 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4003, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009476/0.4098, allocations: 7.561 MB / 0.5686 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.4146, allocations: 2.365 MB / 0.5709 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.415, allocations: 24 kB / 0.5709 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004041/0.4191, allocations: 1.746 MB / 0.5726 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003869/0.4229, allocations: 0.7134 MB / 0.5733 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.4256, allocations: 0.7552 MB / 0.5741 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003023/0.4286, allocations: 1.249 MB / 0.5753 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.4305, allocations: 0.7192 MB / 0.576 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.4322, allocations: 0.5098 MB / 0.5765 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.4334, allocations: 0.6652 MB / 0.5771 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.4336, allocations: 108 kB / 0.5772 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.4348, allocations: 299.8 kB / 0.5775 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003199/0.4351, allocations: 275 kB / 0.5778 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008402/0.436, allocations: 0.6025 MB / 0.5784 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.4387, allocations: 1.618 MB / 0.5799 GB, free: 1.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4387, allocations: 0 / 0.5799 GB, free: 1.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4387, allocations: 0 / 0.5799 GB, free: 1.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.549e-05/0.4387, allocations: 0 / 0.5799 GB, free: 1.719 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.005306/0.444, allocations: 1.837 MB / 0.5817 GB, free: 15.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.4441, allocations: 8.031 kB / 0.5817 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.4541, allocations: 1.272 MB / 0.583 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.4556, allocations: 0.5609 MB / 0.5835 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.4557, allocations: 99.03 kB / 0.5836 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.456, allocations: 140.1 kB / 0.5838 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.4584, allocations: 1.246 MB / 0.585 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/0.4585, allocations: 8 kB / 0.585 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.4586, allocations: 59.94 kB / 0.585 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.4587, allocations: 32 kB / 0.5851 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.4612, allocations: 1.459 MB / 0.5865 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00932/0.4705, allocations: 5.807 MB / 0.5922 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.4725, allocations: 1.04 MB / 0.5932 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006052/0.4731, allocations: 340.1 kB / 0.5935 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.4733, allocations: 195.2 kB / 0.5937 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.4734, allocations: 43.56 kB / 0.5937 GB, free: 2.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.675e-06/0.4734, allocations: 0 / 0.5937 GB, free: 2.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002577/0.476, allocations: 1.207 MB / 0.5949 GB, free: 1.621 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.476, allocations: 64.41 kB / 0.595 GB, free: 1.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.4772, allocations: 0.8287 MB / 0.5958 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.4772, allocations: 37.7 kB / 0.5958 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.4776, allocations: 0.5078 MB / 0.5963 GB, free: 148 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.478, allocations: 329.2 kB / 0.5966 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.4784, allocations: 202.8 kB / 0.5968 GB, free: 15.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.4786, allocations: 406.7 kB / 0.5972 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006885/0.4793, allocations: 354.4 kB / 0.5975 GB, free: 14.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009278/0.4802, allocations: 0.6222 MB / 0.5982 GB, free: 14.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.4818, allocations: 0.9914 MB / 0.5991 GB, free: 13.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4818, allocations: 0 / 0.5991 GB, free: 13.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002347/0.4841, allocations: 1.197 MB / 0.6003 GB, free: 11.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.4842, allocations: 15.88 kB / 0.6003 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.4842, allocations: 8 kB / 0.6003 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/0.4845, allocations: 70.33 kB / 0.6004 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4856, allocations: 267.6 kB / 0.6006 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.4882, allocations: 2.821 MB / 0.6034 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009877/0.4892, allocations: 162.7 kB / 0.6035 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.4893, allocations: 44 kB / 0.6036 GB, free: 8.141 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.0005034/0.4898, allocations: 269 kB / 0.6038 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.4899, allocations: 99.33 kB / 0.6039 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.492, allocations: 1.103 MB / 0.605 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4921, allocations: 12 kB / 0.605 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4921, allocations: 0 / 0.605 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4921, allocations: 3.984 kB / 0.605 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/0.497, allocations: 3.17 MB / 0.6081 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-05/0.4971, allocations: 8 kB / 0.6081 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.4979, allocations: 179.7 kB / 0.6083 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.4981, allocations: 66.39 kB / 0.6084 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.4982, allocations: 27.98 kB / 0.6084 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.5007, allocations: 2.824 MB / 0.6112 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.5007, allocations: 7.938 kB / 0.6112 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.5036, allocations: 1.493 MB / 0.6126 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.5039, allocations: 204.2 kB / 0.6128 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.504, allocations: 23.95 kB / 0.6128 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.5047, allocations: 51.97 kB / 0.6129 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.5048, allocations: 80.34 kB / 0.613 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/0.5049, allocations: 39.94 kB / 0.613 GB, free: 13.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009274/0.5058, allocations: 0.5771 MB / 0.6136 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5058, allocations: 0 / 0.6136 GB, free: 13.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001232/0.5071, allocations: 311.5 kB / 0.6139 GB, free: 12.85 MB / 462.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.000459/0.5075, allocations: 174.9 kB / 0.614 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002623/0.5102, allocations: 1.051 MB / 0.6151 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.5102, allocations: 4 kB / 0.6151 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.5113, allocations: 0.5909 MB / 0.6156 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.5123, allocations: 128.1 kB / 0.6158 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.5167, allocations: 1.863 MB / 0.6176 GB, free: 8.883 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009581/0.5176, allocations: 1.016 MB / 0.6186 GB, free: 7.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008024/0.5184, allocations: 155.7 kB / 0.6187 GB, free: 7.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.5187, allocations: 83.42 kB / 0.6188 GB, free: 7.605 MB / 462.1 MB Notification: Performance of SimCode: time 1.963e-06/0.5187, allocations: 4 kB / 0.6188 GB, free: 7.602 MB / 462.1 MB Notification: Performance of Templates: time 0.0243/0.543, allocations: 11.34 MB / 0.6299 GB, free: 12.32 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.086716411169618]