Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002228/0.002235, allocations: 175.1 kB / 8.146 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.2 MB / 213.7 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001278/0.001277, allocations: 85.53 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2596/0.2596, allocations: 43.48 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.585e-06/7.764e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.4559, allocations: 86.26 MB / 0.5496 GB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.4563, allocations: 67.47 kB / 0.5497 GB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02388/0.4802, allocations: 3.577 MB / 0.5532 GB, free: 9.172 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.753e-05/0.4803, allocations: 7.938 kB / 0.5532 GB, free: 9.164 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.001439/0.4818, allocations: 494.1 kB / 0.5536 GB, free: 8.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.4818, allocations: 8.031 kB / 0.5536 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.482, allocations: 31.72 kB / 0.5537 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/0.4827, allocations: 259 kB / 0.5539 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.4828, allocations: 4 kB / 0.5539 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.4828, allocations: 15.94 kB / 0.5539 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000578/0.4834, allocations: 120.8 kB / 0.5541 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.484, allocations: 150.5 kB / 0.5542 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4841, allocations: 3.281 kB / 0.5542 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.4841, allocations: 3.906 kB / 0.5542 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.4842, allocations: 4 kB / 0.5542 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.4869, allocations: 0.7671 MB / 0.555 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.4872, allocations: 53.62 kB / 0.555 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.4873, allocations: 36.86 kB / 0.555 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.4874, allocations: 4 kB / 0.555 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.4874, allocations: 36.97 kB / 0.5551 GB, free: 7.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 4.919e-06/0.4874, allocations: 0 / 0.5551 GB, free: 7.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.002883/0.4903, allocations: 0.6043 MB / 0.5557 GB, free: 6.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.4904, allocations: 51.41 kB / 0.5557 GB, free: 6.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.4908, allocations: 173.7 kB / 0.5559 GB, free: 6.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.4908, allocations: 25.7 kB / 0.5559 GB, free: 6.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.491, allocations: 218.3 kB / 0.5561 GB, free: 5.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.4911, allocations: 63.09 kB / 0.5562 GB, free: 5.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.4912, allocations: 0 / 0.5562 GB, free: 5.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4913, allocations: 314.8 kB / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.4915, allocations: 48 kB / 0.5565 GB, free: 5.453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.4918, allocations: 87.98 kB / 0.5566 GB, free: 5.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.4921, allocations: 67.36 kB / 0.5567 GB, free: 5.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4921, allocations: 0 / 0.5567 GB, free: 5.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009838/0.4931, allocations: 219.2 kB / 0.5569 GB, free: 5.062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.4932, allocations: 8.031 kB / 0.5569 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.4932, allocations: 4.375 kB / 0.5569 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005219/0.4937, allocations: 57.69 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.4942, allocations: 43.91 kB / 0.557 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.4984, allocations: 2.661 MB / 0.5596 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.4988, allocations: 12 kB / 0.5596 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.4989, allocations: 8.141 kB / 0.5596 GB, free: 2.031 MB / 394.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 0.0001289/0.499, allocations: 35.22 kB / 0.5596 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.4991, allocations: 23.8 kB / 0.5597 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.186e-05/0.4992, allocations: 21.59 kB / 0.5597 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.4993, allocations: 0 / 0.5597 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.4993, allocations: 4 kB / 0.5597 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4993, allocations: 4 kB / 0.5597 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.4999, allocations: 246 kB / 0.5599 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4999, allocations: 0 / 0.5599 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.5002, allocations: 19.92 kB / 0.5599 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.5006, allocations: 65.88 kB / 0.56 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.5007, allocations: 3.984 kB / 0.56 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/0.5047, allocations: 2.657 MB / 0.5626 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.5048, allocations: 0 / 0.5626 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001085/0.5059, allocations: 350.2 kB / 0.5629 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.506, allocations: 92.92 kB / 0.563 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.5061, allocations: 0 / 0.563 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.5066, allocations: 24.11 kB / 0.5631 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.5067, allocations: 11.89 kB / 0.5631 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.5067, allocations: 7.984 kB / 0.5631 GB, free: 14.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.00023/0.5069, allocations: 131.3 kB / 0.5632 GB, free: 14.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007684/0.5077, allocations: 52 kB / 0.5633 GB, free: 13.99 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.0002056/0.508, allocations: 107.2 kB / 0.5634 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009773/0.5089, allocations: 339.5 kB / 0.5637 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.509, allocations: 4 kB / 0.5637 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.5097, allocations: 283.9 kB / 0.564 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.5102, allocations: 16.17 kB / 0.564 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.5119, allocations: 362.3 kB / 0.5643 GB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/0.5125, allocations: 0.769 MB / 0.5651 GB, free: 12.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5125, allocations: 4 kB / 0.5651 GB, free: 12.01 MB / 410.7 MB Notification: Performance of Templates: time 0.01259/0.5251, allocations: 4.534 MB / 0.5695 GB, free: 7.477 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches