Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001699/0.001699, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002022/0.002022, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.571/1.571, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2535/0.2535, allocations: 46.89 MB / 361.3 MB, free: 4.426 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 75.88 kB / 0.4971 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3857, allocations: 66.02 MB / 0.5615 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00984/0.3955, allocations: 7.561 MB / 0.5689 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005897/0.4014, allocations: 2.373 MB / 0.5712 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.4031, allocations: 27.94 kB / 0.5713 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005137/0.4082, allocations: 1.757 MB / 0.573 GB, free: 8.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.4114, allocations: 0.7061 MB / 0.5737 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.4135, allocations: 0.7413 MB / 0.5744 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.4164, allocations: 1.257 MB / 0.5756 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.4185, allocations: 0.7198 MB / 0.5763 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.42, allocations: 0.5214 MB / 0.5768 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.4215, allocations: 0.6614 MB / 0.5775 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000436/0.4219, allocations: 108 kB / 0.5776 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.4231, allocations: 299.8 kB / 0.5779 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.4236, allocations: 275 kB / 0.5781 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.4247, allocations: 0.6063 MB / 0.5787 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.4277, allocations: 1.617 MB / 0.5803 GB, free: 1.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4277, allocations: 0 / 0.5803 GB, free: 1.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.4277, allocations: 4 kB / 0.5803 GB, free: 1.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7e-05/0.4278, allocations: 0 / 0.5803 GB, free: 1.309 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.005841/0.4337, allocations: 1.757 MB / 0.582 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4337, allocations: 8.031 kB / 0.582 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009822/0.4435, allocations: 1.272 MB / 0.5833 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.445, allocations: 0.504 MB / 0.5838 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.4451, allocations: 99.03 kB / 0.5839 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/0.4456, allocations: 144.1 kB / 0.584 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.4489, allocations: 1.246 MB / 0.5852 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/0.4489, allocations: 0 / 0.5852 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.449, allocations: 56 kB / 0.5853 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.4491, allocations: 32 kB / 0.5853 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.4518, allocations: 1.463 MB / 0.5867 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008429/0.4602, allocations: 4.206 MB / 0.5908 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.4622, allocations: 0.8219 MB / 0.5916 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/0.4628, allocations: 332.2 kB / 0.5919 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.4629, allocations: 40.95 kB / 0.592 GB, free: 5.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.463, allocations: 43.56 kB / 0.592 GB, free: 5.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.346e-06/0.463, allocations: 0 / 0.592 GB, free: 5.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002478/0.4655, allocations: 1.056 MB / 0.5931 GB, free: 4.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.4655, allocations: 64.39 kB / 0.5931 GB, free: 3.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.4666, allocations: 0.817 MB / 0.5939 GB, free: 3.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.4667, allocations: 41.7 kB / 0.594 GB, free: 3.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.4672, allocations: 0.5234 MB / 0.5945 GB, free: 2.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.4675, allocations: 321.3 kB / 0.5948 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/0.4678, allocations: 206.8 kB / 0.595 GB, free: 2.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.468, allocations: 398.7 kB / 0.5954 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/0.4687, allocations: 350.5 kB / 0.5957 GB, free: 1.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009459/0.4697, allocations: 0.6231 MB / 0.5963 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.4713, allocations: 0.9954 MB / 0.5973 GB, free: 15.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.4713, allocations: 4 kB / 0.5973 GB, free: 15.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002319/0.4737, allocations: 1.194 MB / 0.5984 GB, free: 14.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.4737, allocations: 11.94 kB / 0.5984 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4737, allocations: 12 kB / 0.5985 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/0.474, allocations: 65.67 kB / 0.5985 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.4751, allocations: 263.8 kB / 0.5988 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.4776, allocations: 2.621 MB / 0.6013 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009592/0.4785, allocations: 158.8 kB / 0.6015 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.4786, allocations: 51.97 kB / 0.6015 GB, free: 10.8 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.0005004/0.4791, allocations: 265.1 kB / 0.6018 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.4793, allocations: 103.3 kB / 0.6019 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.4813, allocations: 1.099 MB / 0.603 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4814, allocations: 8 kB / 0.603 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4814, allocations: 4 kB / 0.603 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.4814, allocations: 7.969 kB / 0.603 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/0.4854, allocations: 2.396 MB / 0.6053 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.4854, allocations: 8 kB / 0.6053 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007637/0.4862, allocations: 187.7 kB / 0.6055 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/0.4864, allocations: 57.67 kB / 0.6056 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.4865, allocations: 24 kB / 0.6056 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.489, allocations: 2.622 MB / 0.6081 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.489, allocations: 8 kB / 0.6081 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.4916, allocations: 1.493 MB / 0.6096 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.4918, allocations: 111.2 kB / 0.6097 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.492, allocations: 35.88 kB / 0.6097 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007281/0.4927, allocations: 48.05 kB / 0.6098 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.4929, allocations: 96.28 kB / 0.6099 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.493, allocations: 35.98 kB / 0.6099 GB, free: 1.711 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009/0.4939, allocations: 0.5771 MB / 0.6105 GB, free: 1.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4939, allocations: 0 / 0.6105 GB, free: 1.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001149/0.495, allocations: 315.5 kB / 0.6108 GB, free: 0.8281 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.0003487/0.4954, allocations: 163 kB / 0.6109 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.4975, allocations: 1.047 MB / 0.612 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4975, allocations: 4 kB / 0.612 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.4986, allocations: 0.5969 MB / 0.6125 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008113/0.4994, allocations: 127.1 kB / 0.6127 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.503, allocations: 1.865 MB / 0.6145 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007693/0.5038, allocations: 1.016 MB / 0.6155 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005688/0.5044, allocations: 151.8 kB / 0.6156 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.5046, allocations: 87.41 kB / 0.6157 GB, free: 11.58 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5046, allocations: 4 kB / 0.6157 GB, free: 11.58 MB / 462.1 MB Notification: Performance of Templates: time 0.02427/0.5289, allocations: 11.63 MB / 0.6271 GB, free: 0 / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.117982657626271]