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.001854/0.001854, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002208/0.002208, allocations: 209 kB / 24.48 MB, free: 3.938 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.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2384/0.2384, allocations: 46.96 MB / 361.6 MB, free: 4.035 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+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.002171/0.002171, allocations: 75.88 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.341, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009109/0.3501, allocations: 6.582 MB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005281/0.3554, allocations: 2.225 MB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.3565, allocations: 27.88 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004334/0.3608, allocations: 1.617 MB / 0.572 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.3636, allocations: 0.6949 MB / 0.5727 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.3655, allocations: 0.7141 MB / 0.5734 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002102/0.3676, allocations: 1.249 MB / 0.5746 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.369, allocations: 0.8516 MB / 0.5755 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008571/0.3699, allocations: 0.5214 MB / 0.576 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007569/0.3707, allocations: 0.5949 MB / 0.5765 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.3708, allocations: 104 kB / 0.5766 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007612/0.3716, allocations: 287.8 kB / 0.5769 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.3718, allocations: 278.9 kB / 0.5772 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.3723, allocations: 0.4937 MB / 0.5777 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.3745, allocations: 1.621 MB / 0.5792 GB, free: 2.242 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3745, allocations: 0 / 0.5792 GB, free: 2.242 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3745, allocations: 4 kB / 0.5793 GB, free: 2.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.3745, allocations: 0 / 0.5793 GB, free: 2.238 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.00462/0.3791, allocations: 1.761 MB / 0.581 GB, free: 452 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3792, allocations: 8.031 kB / 0.581 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009266/0.3884, allocations: 1.268 MB / 0.5822 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.39, allocations: 0.5157 MB / 0.5827 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.97e-05/0.3901, allocations: 99.03 kB / 0.5828 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.3904, allocations: 136.1 kB / 0.5829 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.393, allocations: 1.425 MB / 0.5843 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.393, allocations: 0 / 0.5843 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.3932, allocations: 56 kB / 0.5844 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.3932, allocations: 36 kB / 0.5844 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002525/0.3957, allocations: 1.435 MB / 0.5858 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00766/0.4034, allocations: 3.614 MB / 0.5894 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.4052, allocations: 0.81 MB / 0.5901 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.4058, allocations: 336.2 kB / 0.5905 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.4059, allocations: 36.91 kB / 0.5905 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.4059, allocations: 47.5 kB / 0.5905 GB, free: 6.426 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.825e-06/0.4059, allocations: 0 / 0.5905 GB, free: 6.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002252/0.4082, allocations: 1.021 MB / 0.5915 GB, free: 5.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.4082, allocations: 72.34 kB / 0.5916 GB, free: 5.312 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/0.4089, allocations: 0.5054 MB / 0.5921 GB, free: 4.797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.4089, allocations: 41.7 kB / 0.5921 GB, free: 4.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.4093, allocations: 0.5466 MB / 0.5927 GB, free: 4.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.4096, allocations: 329.2 kB / 0.593 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.4099, allocations: 202.8 kB / 0.5932 GB, free: 3.664 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.4101, allocations: 374.7 kB / 0.5935 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/0.4107, allocations: 342.5 kB / 0.5939 GB, free: 2.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008946/0.4116, allocations: 0.627 MB / 0.5945 GB, free: 2.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4132, allocations: 0.9914 MB / 0.5955 GB, free: 1.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4132, allocations: 0 / 0.5955 GB, free: 1.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002149/0.4153, allocations: 1.163 MB / 0.5966 GB, free: 15.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4154, allocations: 11.94 kB / 0.5966 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4154, allocations: 11.94 kB / 0.5966 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/0.4157, allocations: 73.64 kB / 0.5967 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.4168, allocations: 267.6 kB / 0.5969 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.4191, allocations: 2.564 MB / 0.5994 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.4198, allocations: 115.1 kB / 0.5996 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.4199, allocations: 59.92 kB / 0.5996 GB, free: 12.63 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.0004994/0.4204, allocations: 264.5 kB / 0.5999 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.4206, allocations: 63.62 kB / 0.5999 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.4225, allocations: 1.084 MB / 0.601 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.4225, allocations: 8 kB / 0.601 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4225, allocations: 7.938 kB / 0.601 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4226, allocations: 3.984 kB / 0.601 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/0.4262, allocations: 2.103 MB / 0.6031 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.4262, allocations: 4.781 kB / 0.6031 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/0.427, allocations: 183.7 kB / 0.6032 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.4272, allocations: 65.67 kB / 0.6033 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.4272, allocations: 35.92 kB / 0.6033 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.4293, allocations: 2.568 MB / 0.6058 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.4293, allocations: 7.938 kB / 0.6058 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.4316, allocations: 1.455 MB / 0.6073 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.4318, allocations: 83.42 kB / 0.6073 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.4319, allocations: 27.92 kB / 0.6074 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/0.4325, allocations: 47.98 kB / 0.6074 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.4326, allocations: 88.45 kB / 0.6075 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/0.4327, allocations: 36 kB / 0.6075 GB, free: 4.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004894/0.4332, allocations: 355.1 kB / 0.6079 GB, free: 3.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4332, allocations: 0 / 0.6079 GB, free: 3.699 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001322/0.4345, allocations: 343.1 kB / 0.6082 GB, free: 3.363 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.0003652/0.4349, allocations: 170.9 kB / 0.6084 GB, free: 3.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.4369, allocations: 1.055 MB / 0.6094 GB, free: 2.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4369, allocations: 0 / 0.6094 GB, free: 2.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.4378, allocations: 0.5921 MB / 0.61 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/0.4385, allocations: 101.8 kB / 0.6101 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.442, allocations: 1.878 MB / 0.6119 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.4425, allocations: 427.5 kB / 0.6123 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.4428, allocations: 91.41 kB / 0.6124 GB, free: 14.87 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4428, allocations: 0 / 0.6124 GB, free: 14.87 MB / 462.1 MB Notification: Performance of Templates: time 0.02743/0.4702, allocations: 21.13 MB / 0.633 GB, free: 9.699 MB / 478.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/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: 9.300729972776026]