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.001615/0.001615, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001705/0.001705, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.516/1.516, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.2377/0.2377, allocations: 46.94 MB / 361.5 MB, free: 3.906 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.002719/0.002719, allocations: 76.16 kB / 0.4974 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.36, allocations: 66.09 MB / 0.5619 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009664/0.3696, allocations: 6.579 MB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005575/0.3752, allocations: 2.224 MB / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007532/0.376, allocations: 27.94 kB / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004555/0.3805, allocations: 1.628 MB / 0.5721 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.3828, allocations: 0.6898 MB / 0.5728 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.3845, allocations: 0.7117 MB / 0.5735 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.3862, allocations: 1.249 MB / 0.5747 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.3875, allocations: 0.8477 MB / 0.5755 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000757/0.3883, allocations: 0.5253 MB / 0.5761 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000738/0.389, allocations: 0.5911 MB / 0.5766 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.3892, allocations: 104 kB / 0.5767 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006842/0.3899, allocations: 299.7 kB / 0.577 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.3901, allocations: 278.8 kB / 0.5773 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000501/0.3906, allocations: 497.6 kB / 0.5778 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.3926, allocations: 1.619 MB / 0.5793 GB, free: 2.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3926, allocations: 4 kB / 0.5793 GB, free: 2.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3926, allocations: 0 / 0.5793 GB, free: 2.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.3926, allocations: 0 / 0.5793 GB, free: 2.133 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.004623/0.3973, allocations: 1.769 MB / 0.5811 GB, free: 336 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3973, allocations: 8.031 kB / 0.5811 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009537/0.4068, allocations: 1.268 MB / 0.5823 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.4081, allocations: 0.4962 MB / 0.5828 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.989e-05/0.4082, allocations: 103 kB / 0.5829 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.4085, allocations: 136.1 kB / 0.583 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.411, allocations: 1.433 MB / 0.5844 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.411, allocations: 4 kB / 0.5844 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.4112, allocations: 52 kB / 0.5845 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.4112, allocations: 32 kB / 0.5845 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/0.4139, allocations: 1.439 MB / 0.5859 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008001/0.4219, allocations: 3.61 MB / 0.5894 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.4238, allocations: 0.81 MB / 0.5902 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.4244, allocations: 338.4 kB / 0.5906 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.4245, allocations: 40.91 kB / 0.5906 GB, free: 6.375 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.4246, allocations: 39.56 kB / 0.5906 GB, free: 6.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.925e-06/0.4246, allocations: 0 / 0.5906 GB, free: 6.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.00236/0.4269, allocations: 1.033 MB / 0.5916 GB, free: 5.285 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.427, allocations: 60.41 kB / 0.5917 GB, free: 5.215 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007374/0.4277, allocations: 0.5093 MB / 0.5922 GB, free: 4.695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.4278, allocations: 41.7 kB / 0.5922 GB, free: 4.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.4282, allocations: 0.5466 MB / 0.5928 GB, free: 4.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.4285, allocations: 325.2 kB / 0.5931 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/0.4288, allocations: 198.9 kB / 0.5933 GB, free: 3.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.4291, allocations: 378.7 kB / 0.5936 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007328/0.4298, allocations: 350.5 kB / 0.594 GB, free: 2.852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009775/0.4308, allocations: 0.6231 MB / 0.5946 GB, free: 2.113 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.4324, allocations: 0.9914 MB / 0.5955 GB, free: 1.008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.4324, allocations: 4 kB / 0.5956 GB, free: 1.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002313/0.4348, allocations: 1.167 MB / 0.5967 GB, free: 15.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.4348, allocations: 8 kB / 0.5967 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.4348, allocations: 8 kB / 0.5967 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/0.4351, allocations: 69.61 kB / 0.5968 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4362, allocations: 267.5 kB / 0.597 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.4387, allocations: 2.572 MB / 0.5995 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/0.4395, allocations: 111.1 kB / 0.5996 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.4396, allocations: 52.27 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.0005239/0.4402, allocations: 265.5 kB / 0.5999 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.4403, allocations: 67.5 kB / 0.6 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.4425, allocations: 1.085 MB / 0.6011 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.4425, allocations: 15.98 kB / 0.6011 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4425, allocations: 0 / 0.6011 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.4426, allocations: 3.984 kB / 0.6011 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/0.4467, allocations: 2.112 MB / 0.6032 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.4467, allocations: 8.031 kB / 0.6032 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/0.4474, allocations: 179.8 kB / 0.6033 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/0.4477, allocations: 65.62 kB / 0.6034 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.787e-05/0.4478, allocations: 31.92 kB / 0.6034 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.4502, allocations: 2.565 MB / 0.6059 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.4502, allocations: 4 kB / 0.6059 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.4528, allocations: 1.462 MB / 0.6074 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.453, allocations: 83.42 kB / 0.6074 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.4532, allocations: 24 kB / 0.6075 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.4538, allocations: 52.03 kB / 0.6075 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.454, allocations: 84.41 kB / 0.6076 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.868e-05/0.4541, allocations: 35.98 kB / 0.6076 GB, free: 3.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005114/0.4546, allocations: 355.1 kB / 0.608 GB, free: 3.598 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4546, allocations: 0 / 0.608 GB, free: 3.598 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001208/0.4558, allocations: 351.1 kB / 0.6083 GB, free: 3.254 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.0003506/0.4561, allocations: 166.9 kB / 0.6085 GB, free: 3.078 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.4584, allocations: 1.055 MB / 0.6095 GB, free: 2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.4584, allocations: 0 / 0.6095 GB, free: 2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.4594, allocations: 0.5969 MB / 0.6101 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.4602, allocations: 92.58 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.003887/0.4641, allocations: 1.878 MB / 0.612 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.4646, allocations: 427.5 kB / 0.6124 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.465, allocations: 95.39 kB / 0.6125 GB, free: 14.76 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.465, allocations: 0 / 0.6125 GB, free: 14.76 MB / 462.1 MB Notification: Performance of Templates: time 0.03572/0.5007, allocations: 21.13 MB / 0.6331 GB, free: 9.59 MB / 478.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/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_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: 9.453241955954581]