Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") [: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 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 178.6 kB / 8.519 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.4 MB / 230.3 MB, free: 7.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009458/0.0009457, allocations: 94.16 kB / 281.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1911/0.1911, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.073e-06, allocations: 0 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 61.9 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/0.4389, allocations: 87.98 MB / 0.58 GB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.4392, allocations: 60.56 kB / 0.58 GB, free: 8.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0108/0.45, allocations: 3.762 MB / 0.5837 GB, free: 5.004 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.4501, allocations: 4 kB / 0.5837 GB, free: 5 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006584/0.4508, allocations: 498.1 kB / 0.5842 GB, free: 4.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4508, allocations: 11.97 kB / 0.5842 GB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.4509, allocations: 31.72 kB / 0.5842 GB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.4513, allocations: 248.2 kB / 0.5845 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4513, allocations: 10.84 kB / 0.5845 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.4513, allocations: 19.98 kB / 0.5845 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000248/0.4516, allocations: 112.9 kB / 0.5846 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.4519, allocations: 146.5 kB / 0.5848 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4519, allocations: 3.984 kB / 0.5848 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.4519, allocations: 0 / 0.5848 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4519, allocations: 7.906 kB / 0.5848 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.4531, allocations: 0.7709 MB / 0.5855 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.936e-05/0.4533, allocations: 45.72 kB / 0.5856 GB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4534, allocations: 44.75 kB / 0.5856 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.4534, allocations: 4 kB / 0.5856 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.4534, allocations: 38.69 kB / 0.5856 GB, free: 2.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.4534, allocations: 0 / 0.5856 GB, free: 2.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001306/0.4547, allocations: 0.5956 MB / 0.5862 GB, free: 2.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.4548, allocations: 63.3 kB / 0.5863 GB, free: 2.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.455, allocations: 166.5 kB / 0.5864 GB, free: 1.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.455, allocations: 29.7 kB / 0.5865 GB, free: 1.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.4551, allocations: 151.9 kB / 0.5866 GB, free: 1.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.4551, allocations: 63.09 kB / 0.5867 GB, free: 1.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.4551, allocations: 0 / 0.5867 GB, free: 1.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4552, allocations: 326.8 kB / 0.587 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.4553, allocations: 40 kB / 0.587 GB, free: 1.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.4554, allocations: 93.08 kB / 0.5871 GB, free: 1.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.4555, allocations: 67.05 kB / 0.5872 GB, free: 1.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4556, allocations: 0 / 0.5872 GB, free: 1.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003955/0.456, allocations: 239.2 kB / 0.5874 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.456, allocations: 4 kB / 0.5874 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.456, allocations: 7.875 kB / 0.5874 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.4562, allocations: 65.67 kB / 0.5875 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.4564, allocations: 35.92 kB / 0.5875 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.4584, allocations: 2.661 MB / 0.5901 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.4586, allocations: 15.95 kB / 0.5901 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.4586, allocations: 12.06 kB / 0.5901 GB, free: 13.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.347e-05/0.4587, allocations: 104.9 kB / 0.5902 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.4588, allocations: 19.81 kB / 0.5903 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.4588, allocations: 21.67 kB / 0.5903 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4588, allocations: 7.984 kB / 0.5903 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4588, allocations: 0 / 0.5903 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.4588, allocations: 7.906 kB / 0.5903 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.4591, allocations: 238.1 kB / 0.5905 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4591, allocations: 0 / 0.5905 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.4592, allocations: 19.98 kB / 0.5905 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.4594, allocations: 69.67 kB / 0.5906 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4594, allocations: 0 / 0.5906 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.4613, allocations: 2.657 MB / 0.5932 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.4613, allocations: 0 / 0.5932 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004607/0.4618, allocations: 336.9 kB / 0.5935 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.4618, allocations: 96.91 kB / 0.5936 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.4619, allocations: 8.219 kB / 0.5936 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.4621, allocations: 23.98 kB / 0.5937 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.4621, allocations: 11.92 kB / 0.5937 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.4622, allocations: 4 kB / 0.5937 GB, free: 9.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001076/0.4623, allocations: 140 kB / 0.5938 GB, free: 9.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.4626, allocations: 59.98 kB / 0.5939 GB, free: 9.762 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.4628, allocations: 95.25 kB / 0.5939 GB, free: 9.656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.4633, allocations: 347.8 kB / 0.5943 GB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4633, allocations: 4.062 kB / 0.5943 GB, free: 9.293 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.4636, allocations: 279.5 kB / 0.5945 GB, free: 9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4638, allocations: 14.84 kB / 0.5946 GB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007649/0.4646, allocations: 332.9 kB / 0.5949 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.465, allocations: 0.7729 MB / 0.5956 GB, free: 7.832 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.465, allocations: 0 / 0.5956 GB, free: 7.832 MB / 410.7 MB Notification: Performance of Templates: time 0.005451/0.4705, allocations: 2.474 MB / 0.5981 GB, free: 5.371 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches