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.001301/0.001301, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001486/0.001486, allocations: 207.2 kB / 24.47 MB, free: 3.977 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.473/1.473, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2323/0.2323, allocations: 46.98 MB / 361.6 MB, free: 4.047 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.002072/0.002072, allocations: 75.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3172, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009088/0.3263, allocations: 6.571 MB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005018/0.3313, allocations: 2.232 MB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006845/0.332, allocations: 27.94 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00428/0.3363, allocations: 1.617 MB / 0.572 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.3387, allocations: 0.695 MB / 0.5727 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.3405, allocations: 0.718 MB / 0.5734 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.3423, allocations: 1.241 MB / 0.5746 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.3436, allocations: 0.8786 MB / 0.5755 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007141/0.3443, allocations: 0.5215 MB / 0.576 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000757/0.3451, allocations: 0.673 MB / 0.5766 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.3452, allocations: 104 kB / 0.5767 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006817/0.3459, allocations: 295.8 kB / 0.577 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.3461, allocations: 267 kB / 0.5773 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004882/0.3466, allocations: 0.4937 MB / 0.5778 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.3486, allocations: 1.626 MB / 0.5793 GB, free: 2.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3486, allocations: 8 kB / 0.5794 GB, free: 2.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3486, allocations: 0 / 0.5794 GB, free: 2.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.3486, allocations: 0 / 0.5794 GB, free: 2.137 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.004817/0.3534, allocations: 1.757 MB / 0.5811 GB, free: 352 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3535, allocations: 8.031 kB / 0.5811 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.3635, allocations: 1.268 MB / 0.5823 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.3648, allocations: 0.504 MB / 0.5828 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.982e-05/0.3649, allocations: 103 kB / 0.5829 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.3651, allocations: 136.1 kB / 0.583 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.3678, allocations: 1.429 MB / 0.5844 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.606e-05/0.3678, allocations: 0 / 0.5844 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.3679, allocations: 52 kB / 0.5845 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.368, allocations: 32 kB / 0.5845 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.3706, allocations: 1.443 MB / 0.5859 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007691/0.3783, allocations: 3.61 MB / 0.5894 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.3802, allocations: 0.81 MB / 0.5902 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/0.3808, allocations: 336.2 kB / 0.5906 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.3809, allocations: 36.91 kB / 0.5906 GB, free: 6.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.381, allocations: 43.56 kB / 0.5906 GB, free: 6.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.815e-06/0.381, allocations: 4 kB / 0.5906 GB, free: 6.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002335/0.3833, allocations: 1.029 MB / 0.5916 GB, free: 5.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3834, allocations: 60.41 kB / 0.5917 GB, free: 5.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.384, allocations: 0.5132 MB / 0.5922 GB, free: 4.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.3841, allocations: 45.7 kB / 0.5922 GB, free: 4.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.3844, allocations: 0.5466 MB / 0.5928 GB, free: 4.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.3847, allocations: 321.2 kB / 0.5931 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/0.385, allocations: 202.8 kB / 0.5933 GB, free: 3.574 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3852, allocations: 378.7 kB / 0.5936 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006646/0.3859, allocations: 342.5 kB / 0.594 GB, free: 2.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009308/0.3868, allocations: 0.627 MB / 0.5946 GB, free: 2.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.3884, allocations: 0.9875 MB / 0.5955 GB, free: 1.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.3884, allocations: 4 kB / 0.5955 GB, free: 1.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002258/0.3907, allocations: 1.166 MB / 0.5967 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3907, allocations: 11.94 kB / 0.5967 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.3907, allocations: 11.94 kB / 0.5967 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.391, allocations: 74.27 kB / 0.5968 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.3922, allocations: 267.5 kB / 0.597 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.3945, allocations: 2.568 MB / 0.5995 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000869/0.3954, allocations: 119.1 kB / 0.5997 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.3955, allocations: 48 kB / 0.5997 GB, free: 12.54 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.0004491/0.3959, allocations: 265.5 kB / 0.6 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.3961, allocations: 59.62 kB / 0.6 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.3982, allocations: 1.085 MB / 0.6011 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.3982, allocations: 8 kB / 0.6011 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3982, allocations: 4 kB / 0.6011 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3982, allocations: 3.984 kB / 0.6011 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.402, allocations: 2.111 MB / 0.6031 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.4021, allocations: 7.984 kB / 0.6032 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000848/0.4029, allocations: 179.7 kB / 0.6033 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002384/0.4031, allocations: 66.33 kB / 0.6034 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.4032, allocations: 31.94 kB / 0.6034 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.4054, allocations: 2.568 MB / 0.6059 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4054, allocations: 4 kB / 0.6059 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.4079, allocations: 1.454 MB / 0.6074 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4081, allocations: 91.42 kB / 0.6074 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.4082, allocations: 23.98 kB / 0.6075 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.4088, allocations: 47.98 kB / 0.6075 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.409, allocations: 84.39 kB / 0.6076 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.4091, allocations: 32 kB / 0.6076 GB, free: 3.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004676/0.4095, allocations: 355.1 kB / 0.608 GB, free: 3.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4095, allocations: 4 kB / 0.608 GB, free: 3.609 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001083/0.4106, allocations: 347.1 kB / 0.6083 GB, free: 3.27 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.0002967/0.4109, allocations: 178.9 kB / 0.6085 GB, free: 3.082 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.4129, allocations: 1.047 MB / 0.6095 GB, free: 2.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4129, allocations: 0.625 kB / 0.6095 GB, free: 2.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.4139, allocations: 0.5959 MB / 0.6101 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.4146, allocations: 101.8 kB / 0.6102 GB, free: 1.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.4179, allocations: 1.834 MB / 0.612 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.4184, allocations: 435.5 kB / 0.6124 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005032/0.4189, allocations: 121.9 kB / 0.6125 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.4191, allocations: 75.42 kB / 0.6126 GB, free: 14.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4191, allocations: 0 / 0.6126 GB, free: 14.7 MB / 462.1 MB Notification: Performance of Templates: time 0.02007/0.4392, allocations: 10.49 MB / 0.6228 GB, free: 4.336 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 gbode -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.371727042002021]