Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_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_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007889/0.0007889, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 184.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5283/0.5283, allocations: 43.58 MB / 315 MB, free: 8.801 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007326/0.0007327, allocations: 12 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1789, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003007/0.1819, allocations: 2.205 MB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1832, allocations: 0.6476 MB / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.1833, allocations: 4 kB / 446.3 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1835, allocations: 27.77 kB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.1837, allocations: 63.47 kB / 446.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.184, allocations: 55.94 kB / 446.4 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.1844, allocations: 274.8 kB / 446.7 MB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.1846, allocations: 73.02 kB / 446.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.1848, allocations: 99.52 kB / 446.9 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.185, allocations: 111.5 kB / 447 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.1851, allocations: 16 kB / 447 MB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.133e-05/0.1851, allocations: 12 kB / 447 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.1852, allocations: 35.84 kB / 447 MB, free: 9.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.1854, allocations: 137.1 kB / 447.2 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.1857, allocations: 271.2 kB / 447.4 MB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1857, allocations: 0 / 447.4 MB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.1857, allocations: 0 / 447.4 MB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1858, allocations: 0 / 447.4 MB, free: 8.648 MB / 382.1 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.0009605/0.1867, allocations: 0.4912 MB / 447.9 MB, free: 8.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.1868, allocations: 8.031 kB / 447.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.422e-05/0.1869, allocations: 32.64 kB / 448 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1872, allocations: 248.5 kB / 448.2 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.1873, allocations: 12.81 kB / 448.2 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.1873, allocations: 24.38 kB / 448.2 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.1877, allocations: 199.6 kB / 448.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1877, allocations: 0 / 448.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.1878, allocations: 8 kB / 448.4 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1878, allocations: 4 kB / 448.5 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.1881, allocations: 149.7 kB / 448.6 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.1895, allocations: 0.8064 MB / 449.4 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.1897, allocations: 110.5 kB / 449.5 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1899, allocations: 52.77 kB / 449.6 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.1899, allocations: 8.109 kB / 449.6 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.19, allocations: 34.56 kB / 449.6 MB, free: 6.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.19, allocations: 0 / 449.6 MB, free: 6.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001989/0.192, allocations: 0.7522 MB / 450.4 MB, free: 5.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.192, allocations: 55.41 kB / 450.4 MB, free: 5.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1923, allocations: 211.7 kB / 450.6 MB, free: 5.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.1923, allocations: 29.7 kB / 450.6 MB, free: 5.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1925, allocations: 163.8 kB / 450.8 MB, free: 5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.1925, allocations: 59.23 kB / 450.9 MB, free: 4.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.1926, allocations: 17.72 kB / 450.9 MB, free: 4.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1927, allocations: 334.8 kB / 451.2 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1929, allocations: 71.91 kB / 451.3 MB, free: 4.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.1931, allocations: 109.1 kB / 451.4 MB, free: 4.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.1934, allocations: 188.9 kB / 451.6 MB, free: 4.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1934, allocations: 4 kB / 451.6 MB, free: 4.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005231/0.1939, allocations: 282.8 kB / 451.9 MB, free: 3.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.194, allocations: 12.14 kB / 451.9 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.194, allocations: 4 kB / 451.9 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.1942, allocations: 61.69 kB / 451.9 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1944, allocations: 35.97 kB / 452 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.1969, allocations: 2.812 MB / 454.8 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.197, allocations: 12.03 kB / 454.8 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.197, allocations: 12 kB / 454.8 MB, free: 0.668 MB / 382.1 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 () * Number of clocked 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 (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,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.1972, allocations: 137.8 kB / 454.9 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.1973, allocations: 23.8 kB / 455 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.1973, allocations: 25.81 kB / 455 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1973, allocations: 0 / 455 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.1974, allocations: 4.656 kB / 455 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1974, allocations: 0 / 455 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.1977, allocations: 277.5 kB / 455.3 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1977, allocations: 0 / 455.3 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.482e-05/0.1978, allocations: 23.98 kB / 455.3 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001895/0.198, allocations: 69.86 kB / 455.3 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.198, allocations: 7.938 kB / 455.4 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3404/0.5384, allocations: 2.804 MB / 458.2 MB, free: 43.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.5384, allocations: 2.812 kB / 458.2 MB, free: 43.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007389/0.5392, allocations: 401.6 kB / 458.6 MB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.5393, allocations: 99.3 kB / 458.7 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.5393, allocations: 2.312 kB / 458.7 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.5395, allocations: 20.55 kB / 458.7 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.5396, allocations: 25.94 kB / 458.7 MB, free: 43.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.5396, allocations: 2.469 kB / 458.7 MB, free: 43.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.5398, allocations: 155 kB / 458.9 MB, free: 43.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5398, allocations: 0 / 458.9 MB, free: 43.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.5402, allocations: 63.62 kB / 458.9 MB, free: 43.36 MB / 382.1 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 () * Number of clocked 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 (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,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001198/0.5403, allocations: 103.8 kB / 459 MB, free: 43.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006716/0.541, allocations: 424.8 kB / 459.4 MB, free: 43.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.541, allocations: 0 / 459.4 MB, free: 43.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.5413, allocations: 329 kB / 459.8 MB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.5418, allocations: 32.95 kB / 459.8 MB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.5427, allocations: 0.6262 MB / 460.4 MB, free: 42.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.5429, allocations: 0.7475 MB / 461.2 MB, free: 41.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.911e-05/0.543, allocations: 19.47 kB / 461.2 MB, free: 41.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.5431, allocations: 19.91 kB / 461.2 MB, free: 41.79 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.5431, allocations: 0 / 461.2 MB, free: 41.79 MB / 382.1 MB Notification: Performance of Templates: time 0.00571/0.5488, allocations: 2.515 MB / 463.7 MB, free: 41.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches