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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 45.9 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003417, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.178, allocations: 63.46 MB / 481.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006867/0.1849, allocations: 6.006 MB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0046/0.1896, allocations: 2.219 MB / 489.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006427/0.1902, allocations: 27.94 kB / 489.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000714/0.191, allocations: 246.5 kB / 489.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.1926, allocations: 0.6735 MB / 490.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1939, allocations: 0.6104 MB / 491.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.195, allocations: 0.8503 MB / 492 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.1975, allocations: 1.461 MB / 493.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006447/0.1982, allocations: 434.2 kB / 493.9 MB, free: 8.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005764/0.1987, allocations: 0.5408 MB / 494.4 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.407e-05/0.1988, allocations: 56 kB / 494.5 MB, free: 8.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005905/0.1994, allocations: 211.8 kB / 494.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.1996, allocations: 203.2 kB / 494.9 MB, free: 7.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1998, allocations: 225.1 kB / 495.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.201, allocations: 1.196 MB / 496.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.201, allocations: 0 / 496.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.201, allocations: 0 / 496.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.2011, allocations: 0 / 496.3 MB, free: 6.461 MB / 366.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.003941/0.205, allocations: 1.581 MB / 497.9 MB, free: 4.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2051, allocations: 8.031 kB / 497.9 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009096/0.2142, allocations: 1.345 MB / 499.2 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009945/0.2152, allocations: 0.5518 MB / 499.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/0.2153, allocations: 98.66 kB / 499.9 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.2155, allocations: 127.9 kB / 0.4883 GB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.2176, allocations: 1.226 MB / 0.4895 GB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.2177, allocations: 8 kB / 0.4895 GB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.2178, allocations: 52 kB / 0.4896 GB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.2179, allocations: 35.98 kB / 0.4896 GB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.2202, allocations: 1.451 MB / 0.491 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008235/0.2285, allocations: 5.86 MB / 0.4967 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.2303, allocations: 0.9523 MB / 0.4977 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.2305, allocations: 183.2 kB / 0.4978 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.2306, allocations: 47.5 kB / 0.4979 GB, free: 8.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.765e-06/0.2306, allocations: 4 kB / 0.4979 GB, free: 8.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002285/0.2329, allocations: 1.216 MB / 0.4991 GB, free: 6.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.2329, allocations: 60.41 kB / 0.4991 GB, free: 6.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.234, allocations: 0.8208 MB / 0.4999 GB, free: 6.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.234, allocations: 41.7 kB / 0.5 GB, free: 6.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.2344, allocations: 0.5025 MB / 0.5005 GB, free: 5.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.2347, allocations: 303.5 kB / 0.5007 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.2348, allocations: 24 kB / 0.5008 GB, free: 5.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.235, allocations: 398.7 kB / 0.5012 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006089/0.2356, allocations: 350.5 kB / 0.5015 GB, free: 4.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008437/0.2364, allocations: 0.6149 MB / 0.5021 GB, free: 3.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007437/0.2372, allocations: 426.8 kB / 0.5025 GB, free: 3.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.2372, allocations: 8 kB / 0.5025 GB, free: 3.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002118/0.2393, allocations: 1.19 MB / 0.5037 GB, free: 2.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.2394, allocations: 8 kB / 0.5037 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.2394, allocations: 8 kB / 0.5037 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/0.2397, allocations: 65.67 kB / 0.5037 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000992/0.2407, allocations: 259.6 kB / 0.504 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2915/0.5322, allocations: 2.639 MB / 0.5066 GB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.5335, allocations: 157.6 kB / 0.5067 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.5337, allocations: 50.94 kB / 0.5068 GB, free: 37.57 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005932/0.5343, allocations: 260 kB / 0.507 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.5345, allocations: 93.95 kB / 0.5071 GB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.5369, allocations: 1.12 MB / 0.5082 GB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.537, allocations: 15.14 kB / 0.5082 GB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.537, allocations: 0.5938 kB / 0.5082 GB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.537, allocations: 4.406 kB / 0.5082 GB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/0.5414, allocations: 3.154 MB / 0.5113 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.5414, allocations: 5.656 kB / 0.5113 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.5422, allocations: 180.5 kB / 0.5115 GB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.5425, allocations: 62.02 kB / 0.5115 GB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/0.5426, allocations: 27.19 kB / 0.5116 GB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.5442, allocations: 2.644 MB / 0.5141 GB, free: 33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.5442, allocations: 10.84 kB / 0.5142 GB, free: 33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.5468, allocations: 1.779 MB / 0.5159 GB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/0.5472, allocations: 212.1 kB / 0.5161 GB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.5473, allocations: 24.91 kB / 0.5161 GB, free: 31.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.5479, allocations: 62.98 kB / 0.5162 GB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.5481, allocations: 72.47 kB / 0.5162 GB, free: 31.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/0.5482, allocations: 36.36 kB / 0.5163 GB, free: 31.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000861/0.549, allocations: 0.5751 MB / 0.5168 GB, free: 31.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.549, allocations: 3.094 kB / 0.5168 GB, free: 31.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001169/0.5502, allocations: 308.8 kB / 0.5171 GB, free: 31.11 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000316/0.5505, allocations: 173.7 kB / 0.5173 GB, free: 30.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.5525, allocations: 1.089 MB / 0.5184 GB, free: 30.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.5525, allocations: 1.375 kB / 0.5184 GB, free: 30.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009507/0.5535, allocations: 0.6318 MB / 0.519 GB, free: 30.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.5542, allocations: 99.19 kB / 0.5191 GB, free: 30.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.5578, allocations: 2.205 MB / 0.5212 GB, free: 28.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.5585, allocations: 1.04 MB / 0.5222 GB, free: 27.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007412/0.5592, allocations: 153.9 kB / 0.5224 GB, free: 27.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.5594, allocations: 80.02 kB / 0.5225 GB, free: 27.8 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5595, allocations: 3.531 kB / 0.5225 GB, free: 27.8 MB / 382.1 MB Notification: Performance of Templates: time 0.0176/0.5771, allocations: 9.741 MB / 0.532 GB, free: 25.28 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (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) 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","../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches