Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009472/0.0009472, allocations: 183.4 kB / 7.802 MB, free: 2.125 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008575/0.0008574, allocations: 88.55 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1493/0.1493, allocations: 43.5 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.48e-06, allocations: 224 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.3179, allocations: 96.06 MB / 0.5592 GB, free: 2.855 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.3181, allocations: 79.95 kB / 0.5593 GB, free: 2.777 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06939/0.3876, allocations: 32.29 MB / 0.5908 GB, free: 2.125 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.27e-05/0.3876, allocations: 20 kB / 0.5908 GB, free: 2.105 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002568/0.3902, allocations: 1.268 MB / 0.5921 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.3902, allocations: 8.031 kB / 0.5921 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00686/0.3971, allocations: 1.099 MB / 0.5931 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.3979, allocations: 0.5422 MB / 0.5937 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.3979, allocations: 40 kB / 0.5937 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.3981, allocations: 83.83 kB / 0.5938 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001922/0.4, allocations: 1.309 MB / 0.5951 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.4014, allocations: 0.8795 MB / 0.5959 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.4015, allocations: 8 kB / 0.5959 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.069e-05/0.4015, allocations: 0 / 0.5959 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.4016, allocations: 31.94 kB / 0.596 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007115/0.4087, allocations: 4.79 MB / 0.6006 GB, free: 7.598 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.4099, allocations: 0.7085 MB / 0.6013 GB, free: 6.887 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.4103, allocations: 315 kB / 0.6016 GB, free: 6.578 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.4105, allocations: 105.8 kB / 0.6017 GB, free: 6.457 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.4105, allocations: 47.34 kB / 0.6018 GB, free: 6.398 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 2.645e-06/0.4105, allocations: 4 kB / 0.6018 GB, free: 6.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=91): time 0.001421/0.4119, allocations: 0.6675 MB / 0.6024 GB, free: 5.711 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.412, allocations: 64.17 kB / 0.6025 GB, free: 5.637 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.4124, allocations: 420.9 kB / 0.6029 GB, free: 5.223 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.4125, allocations: 25.7 kB / 0.6029 GB, free: 5.191 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.4127, allocations: 478 kB / 0.6034 GB, free: 4.715 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.4129, allocations: 299.5 kB / 0.6037 GB, free: 4.418 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.413, allocations: 4 kB / 0.6037 GB, free: 4.414 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4131, allocations: 374.7 kB / 0.604 GB, free: 4.039 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.4136, allocations: 294.6 kB / 0.6043 GB, free: 3.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.4142, allocations: 0.5452 MB / 0.6048 GB, free: 3.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009977/0.4152, allocations: 426.7 kB / 0.6053 GB, free: 2.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4152, allocations: 4 kB / 0.6053 GB, free: 2.676 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001997/0.4172, allocations: 1.036 MB / 0.6063 GB, free: 1.625 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4172, allocations: 4 kB / 0.6063 GB, free: 1.621 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4173, allocations: 11.94 kB / 0.6063 GB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002658/0.4175, allocations: 77.98 kB / 0.6064 GB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.4187, allocations: 275.6 kB / 0.6066 GB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.4205, allocations: 2.508 MB / 0.6091 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/0.4213, allocations: 98.8 kB / 0.6092 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.798e-05/0.4214, allocations: 52.16 kB / 0.6092 GB, free: 14.38 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001653/0.4215, allocations: 135.8 kB / 0.6093 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4216, allocations: 67.16 kB / 0.6094 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.4234, allocations: 1.012 MB / 0.6104 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.4235, allocations: 8 kB / 0.6104 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4235, allocations: 0 / 0.6104 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.4235, allocations: 3.984 kB / 0.6104 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.4271, allocations: 2.958 MB / 0.6133 GB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4271, allocations: 4 kB / 0.6133 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000819/0.4279, allocations: 195.8 kB / 0.6135 GB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001973/0.4281, allocations: 61.67 kB / 0.6135 GB, free: 9.566 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.4282, allocations: 16 kB / 0.6136 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.4299, allocations: 2.515 MB / 0.616 GB, free: 6.809 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/0.4299, allocations: 23.91 kB / 0.616 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002097/0.432, allocations: 1.727 MB / 0.6177 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.4322, allocations: 176.1 kB / 0.6179 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.4323, allocations: 11.98 kB / 0.6179 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/0.4329, allocations: 51.97 kB / 0.618 GB, free: 4.504 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.433, allocations: 72.39 kB / 0.618 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.4331, allocations: 36 kB / 0.6181 GB, free: 4.398 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0003223/0.4334, allocations: 319.2 kB / 0.6184 GB, free: 4.086 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008395/0.4342, allocations: 298.9 kB / 0.6186 GB, free: 3.793 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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.0002248/0.4345, allocations: 160.9 kB / 0.6188 GB, free: 3.625 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.4359, allocations: 0.9711 MB / 0.6197 GB, free: 2.641 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4359, allocations: 8.062 kB / 0.6198 GB, free: 2.633 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007303/0.4366, allocations: 0.5659 MB / 0.6203 GB, free: 2.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.437, allocations: 69.86 kB / 0.6204 GB, free: 1.977 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.4412, allocations: 1.837 MB / 0.6222 GB, free: 20 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008146/0.442, allocations: 1.096 MB / 0.6232 GB, free: 14.89 MB / 474.7 MB Notification: Performance of SimCode: time 2.81e-07/0.442, allocations: 0 / 0.6232 GB, free: 14.89 MB / 474.7 MB Notification: Performance of Templates: time 0.01573/0.4577, allocations: 10.47 MB / 0.6335 GB, free: 4.434 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches