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.001308/0.001308, 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.002912/0.002912, allocations: 204.1 kB / 24.46 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.538/1.538, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.232/0.232, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] 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.00238/0.00238, allocations: 83.86 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3434, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01049/0.3539, allocations: 7.549 MB / 0.5686 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005059/0.3589, allocations: 2.373 MB / 0.5709 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006254/0.3596, allocations: 24 kB / 0.5709 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004289/0.3639, allocations: 1.761 MB / 0.5726 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.3661, allocations: 0.7061 MB / 0.5733 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.3678, allocations: 0.7474 MB / 0.574 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.3698, allocations: 1.253 MB / 0.5753 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.371, allocations: 0.7153 MB / 0.576 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.3717, allocations: 0.5175 MB / 0.5765 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007685/0.3725, allocations: 0.6575 MB / 0.5771 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.3726, allocations: 115.9 kB / 0.5772 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006716/0.3733, allocations: 299.8 kB / 0.5775 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.3735, allocations: 275 kB / 0.5778 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005919/0.3741, allocations: 0.6024 MB / 0.5784 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.3764, allocations: 1.618 MB / 0.5799 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3764, allocations: 0 / 0.5799 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3764, allocations: 0 / 0.5799 GB, free: 1.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.3764, allocations: 0 / 0.5799 GB, free: 1.738 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.004932/0.3814, allocations: 1.829 MB / 0.5817 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3814, allocations: 8.031 kB / 0.5817 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009869/0.3913, allocations: 1.276 MB / 0.583 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.3923, allocations: 0.5648 MB / 0.5835 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-05/0.3924, allocations: 99.03 kB / 0.5836 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.3927, allocations: 140.1 kB / 0.5838 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.3951, allocations: 1.246 MB / 0.585 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.3952, allocations: 0 / 0.585 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.3953, allocations: 59.94 kB / 0.585 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.3953, allocations: 32 kB / 0.5851 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.3979, allocations: 1.463 MB / 0.5865 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009121/0.4071, allocations: 5.807 MB / 0.5922 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.409, allocations: 1.048 MB / 0.5932 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006193/0.4097, allocations: 336.2 kB / 0.5935 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.4099, allocations: 191.2 kB / 0.5937 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.4099, allocations: 43.56 kB / 0.5937 GB, free: 2.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.685e-06/0.4099, allocations: 4 kB / 0.5937 GB, free: 2.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002535/0.4124, allocations: 1.211 MB / 0.5949 GB, free: 1.637 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.4125, allocations: 60.41 kB / 0.595 GB, free: 1.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.4136, allocations: 0.8248 MB / 0.5958 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/0.4137, allocations: 41.7 kB / 0.5958 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.4141, allocations: 0.5117 MB / 0.5963 GB, free: 164 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.4144, allocations: 325.4 kB / 0.5966 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/0.4148, allocations: 202.9 kB / 0.5968 GB, free: 15.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.415, allocations: 406.5 kB / 0.5972 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.4157, allocations: 350.4 kB / 0.5975 GB, free: 14.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.4168, allocations: 0.6222 MB / 0.5982 GB, free: 14.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.4185, allocations: 0.9953 MB / 0.5991 GB, free: 13.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.4185, allocations: 4 kB / 0.5991 GB, free: 13.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002323/0.4208, allocations: 1.19 MB / 0.6003 GB, free: 11.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.4208, allocations: 11.94 kB / 0.6003 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.4209, allocations: 12.06 kB / 0.6003 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003415/0.4212, allocations: 69.67 kB / 0.6004 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.4223, allocations: 263.5 kB / 0.6006 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.4252, allocations: 2.825 MB / 0.6034 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.4262, allocations: 170.8 kB / 0.6036 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.4263, allocations: 44 kB / 0.6036 GB, free: 8.156 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.0005216/0.4268, allocations: 264.3 kB / 0.6039 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.427, allocations: 99.33 kB / 0.6039 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.4291, allocations: 1.095 MB / 0.605 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.4291, allocations: 8 kB / 0.605 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4291, allocations: 8 kB / 0.605 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4291, allocations: 3.984 kB / 0.605 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004656/0.4338, allocations: 3.166 MB / 0.6081 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.4338, allocations: 4.781 kB / 0.6081 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007898/0.4346, allocations: 187.7 kB / 0.6083 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.4348, allocations: 65.67 kB / 0.6084 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.4349, allocations: 27.98 kB / 0.6084 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.4376, allocations: 2.824 MB / 0.6112 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/0.4376, allocations: 8 kB / 0.6112 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.4402, allocations: 1.493 MB / 0.6126 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.4406, allocations: 196.2 kB / 0.6128 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.4408, allocations: 31.95 kB / 0.6128 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.4417, allocations: 51.91 kB / 0.6129 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.4418, allocations: 88.34 kB / 0.613 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/0.4419, allocations: 36 kB / 0.613 GB, free: 13.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009515/0.4428, allocations: 0.581 MB / 0.6136 GB, free: 13.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4428, allocations: 4 kB / 0.6136 GB, free: 13.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001191/0.444, allocations: 307.6 kB / 0.6139 GB, free: 12.87 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.0003617/0.4444, allocations: 178.8 kB / 0.614 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.4467, allocations: 1.043 MB / 0.6151 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4467, allocations: 0 / 0.6151 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.4477, allocations: 0.5993 MB / 0.6156 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009047/0.4486, allocations: 127.2 kB / 0.6158 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.4523, allocations: 1.863 MB / 0.6176 GB, free: 8.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.4531, allocations: 1.016 MB / 0.6186 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005902/0.4537, allocations: 151.8 kB / 0.6187 GB, free: 7.703 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.454, allocations: 87.42 kB / 0.6188 GB, free: 7.621 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.454, allocations: 0 / 0.6188 GB, free: 7.621 MB / 462.1 MB Notification: Performance of Templates: time 0.02344/0.4774, allocations: 11.34 MB / 0.6299 GB, free: 12.33 MB / 478.1 MB " [Timeout remaining time 660] 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 gbode -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: 5.664907207712531]