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.001448/0.001448, 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.001597/0.001597, allocations: 208.2 kB / 24.48 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.469/1.469, 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.2429/0.2429, allocations: 46.97 MB / 361.6 MB, free: 4.047 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+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.002166/0.002166, allocations: 59.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4237, allocations: 66.05 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009401/0.4331, allocations: 6.583 MB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005646/0.4388, allocations: 2.212 MB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.4402, allocations: 27.94 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004995/0.4452, allocations: 1.625 MB / 0.572 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.4484, allocations: 0.6952 MB / 0.5727 GB, free: 9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.4506, allocations: 0.7136 MB / 0.5734 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002363/0.4529, allocations: 1.253 MB / 0.5746 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.4544, allocations: 0.8708 MB / 0.5755 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008747/0.4553, allocations: 0.5253 MB / 0.576 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008496/0.4561, allocations: 0.6653 MB / 0.5766 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.4563, allocations: 108 kB / 0.5767 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008704/0.4572, allocations: 295.7 kB / 0.577 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.4574, allocations: 279 kB / 0.5773 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006146/0.4581, allocations: 0.4937 MB / 0.5778 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.4604, allocations: 1.622 MB / 0.5794 GB, free: 2.148 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4604, allocations: 0 / 0.5794 GB, free: 2.148 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.4604, allocations: 3.984 kB / 0.5794 GB, free: 2.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.4605, allocations: 0 / 0.5794 GB, free: 2.145 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.004797/0.4653, allocations: 1.754 MB / 0.5811 GB, free: 364 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4653, allocations: 16.03 kB / 0.5811 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009074/0.4744, allocations: 1.264 MB / 0.5823 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.476, allocations: 0.5079 MB / 0.5828 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/0.4761, allocations: 95.03 kB / 0.5829 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.4763, allocations: 144.1 kB / 0.583 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.479, allocations: 1.425 MB / 0.5844 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.808e-05/0.4791, allocations: 4 kB / 0.5844 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.4792, allocations: 56 kB / 0.5845 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.4793, allocations: 32 kB / 0.5845 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.4818, allocations: 1.439 MB / 0.5859 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008003/0.4898, allocations: 3.599 MB / 0.5894 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.4917, allocations: 0.8217 MB / 0.5902 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/0.4923, allocations: 328.2 kB / 0.5906 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.4924, allocations: 40.91 kB / 0.5906 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.4924, allocations: 51.56 kB / 0.5906 GB, free: 6.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.655e-06/0.4924, allocations: 0 / 0.5906 GB, free: 6.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002323/0.4948, allocations: 1.029 MB / 0.5917 GB, free: 5.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.4948, allocations: 60.41 kB / 0.5917 GB, free: 5.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.4955, allocations: 0.5054 MB / 0.5922 GB, free: 4.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.4956, allocations: 45.7 kB / 0.5922 GB, free: 4.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/0.496, allocations: 0.5466 MB / 0.5928 GB, free: 4.109 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.4963, allocations: 321.2 kB / 0.5931 GB, free: 3.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003463/0.4966, allocations: 206.8 kB / 0.5933 GB, free: 3.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.4968, allocations: 370.7 kB / 0.5936 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/0.4975, allocations: 346.5 kB / 0.594 GB, free: 2.875 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009848/0.4985, allocations: 0.6231 MB / 0.5946 GB, free: 2.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.5002, allocations: 0.9913 MB / 0.5955 GB, free: 1.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5002, allocations: 4 kB / 0.5955 GB, free: 1.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002273/0.5024, allocations: 1.17 MB / 0.5967 GB, free: 15.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.5025, allocations: 8 kB / 0.5967 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.5025, allocations: 8 kB / 0.5967 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003636/0.5028, allocations: 78.36 kB / 0.5968 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.5039, allocations: 263.5 kB / 0.597 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.5063, allocations: 2.572 MB / 0.5995 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/0.5072, allocations: 119.1 kB / 0.5997 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/0.5073, allocations: 51.98 kB / 0.5997 GB, free: 12.55 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.0006017/0.5079, allocations: 257.5 kB / 0.6 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.5081, allocations: 67.73 kB / 0.6 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.5101, allocations: 1.092 MB / 0.6011 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.5101, allocations: 8 kB / 0.6011 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5101, allocations: 0 / 0.6011 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5101, allocations: 3.984 kB / 0.6011 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/0.5139, allocations: 2.099 MB / 0.6031 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.5139, allocations: 8 kB / 0.6032 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007556/0.5147, allocations: 184.5 kB / 0.6033 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000307/0.515, allocations: 65.67 kB / 0.6034 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-05/0.5151, allocations: 27.94 kB / 0.6034 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.5174, allocations: 2.568 MB / 0.6059 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.5174, allocations: 8 kB / 0.6059 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.5201, allocations: 1.458 MB / 0.6074 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.5203, allocations: 79.42 kB / 0.6074 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.5205, allocations: 31.98 kB / 0.6075 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/0.5211, allocations: 47.98 kB / 0.6075 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.5213, allocations: 84.34 kB / 0.6076 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/0.5213, allocations: 39.98 kB / 0.6076 GB, free: 3.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004936/0.5218, allocations: 359.2 kB / 0.608 GB, free: 3.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5218, allocations: 0 / 0.608 GB, free: 3.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001307/0.5231, allocations: 343.1 kB / 0.6083 GB, free: 3.277 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.0003645/0.5235, allocations: 166.9 kB / 0.6085 GB, free: 3.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.5255, allocations: 1.055 MB / 0.6095 GB, free: 2.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5255, allocations: 4.625 kB / 0.6095 GB, free: 2.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000974/0.5265, allocations: 0.5959 MB / 0.6101 GB, free: 1.395 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006656/0.5271, allocations: 101.8 kB / 0.6102 GB, free: 1.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.5306, allocations: 1.847 MB / 0.612 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.5311, allocations: 431.5 kB / 0.6124 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004726/0.5316, allocations: 117.9 kB / 0.6125 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.5318, allocations: 83.41 kB / 0.6126 GB, free: 14.7 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5318, allocations: 0 / 0.6126 GB, free: 14.7 MB / 462.1 MB Notification: Performance of Templates: time 0.0202/0.552, allocations: 10.47 MB / 0.6228 GB, free: 4.355 MB / 462.1 MB " [Timeout remaining time 659] 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 cvode -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.7638942079938715]