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.001131/0.001131, allocations: 104.8 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.714/1.714, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2521/0.2521, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001472/0.001472, allocations: 70.88 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1742, allocations: 57.79 MB / 440.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00442/0.1787, allocations: 2.519 MB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1803, allocations: 0.6319 MB / 443.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003905/0.1807, allocations: 4 kB / 443.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1811, allocations: 43.58 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.1814, allocations: 67.34 kB / 443.8 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.1819, allocations: 71.84 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.1824, allocations: 286.8 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.1826, allocations: 100.9 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.1829, allocations: 111.6 kB / 444.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1831, allocations: 119.5 kB / 444.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.1832, allocations: 24 kB / 444.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.1832, allocations: 24 kB / 444.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.1833, allocations: 47.84 kB / 444.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.1834, allocations: 127.3 kB / 444.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1837, allocations: 279 kB / 444.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1838, allocations: 3.938 kB / 444.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1838, allocations: 0 / 444.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1838, allocations: 0 / 444.9 MB, free: 2.477 MB / 318.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.0008584/0.1846, allocations: 0.5418 MB / 445.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1847, allocations: 11.89 kB / 445.5 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.1848, allocations: 24.66 kB / 445.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1851, allocations: 239.9 kB / 445.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1851, allocations: 16.81 kB / 445.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1851, allocations: 24.38 kB / 445.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.1855, allocations: 195.6 kB / 446 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1855, allocations: 0 / 446 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.1855, allocations: 12 kB / 446 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1856, allocations: 7.938 kB / 446 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.1858, allocations: 141.7 kB / 446.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1869, allocations: 0.7986 MB / 446.9 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1871, allocations: 98.42 kB / 447 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.831e-05/0.1872, allocations: 48.83 kB / 447.1 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1873, allocations: 4 kB / 447.1 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1873, allocations: 38.56 kB / 447.1 MB, free: 108 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1873, allocations: 0 / 447.1 MB, free: 108 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001971/0.1893, allocations: 0.7137 MB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1893, allocations: 59.34 kB / 447.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1896, allocations: 215.8 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1896, allocations: 25.7 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1897, allocations: 163.8 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.1898, allocations: 59.19 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.1899, allocations: 50.2 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.19, allocations: 330.8 kB / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1902, allocations: 59.97 kB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.1904, allocations: 109.9 kB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.1907, allocations: 181.2 kB / 449.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1907, allocations: 0 / 449.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005456/0.1913, allocations: 279 kB / 449.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1913, allocations: 11.94 kB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1913, allocations: 0 / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/0.1916, allocations: 69.67 kB / 449.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.1918, allocations: 39.91 kB / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.1945, allocations: 3.02 MB / 452.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.1947, allocations: 8.031 kB / 452.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1947, allocations: 8 kB / 452.5 MB, free: 10.3 MB / 334.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.0001629/0.1949, allocations: 138.2 kB / 452.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.1949, allocations: 19.95 kB / 452.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.195, allocations: 25.92 kB / 452.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.195, allocations: 4 kB / 452.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.195, allocations: 4 kB / 452.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.195, allocations: 3.984 kB / 452.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.1953, allocations: 281.5 kB / 453 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1954, allocations: 192 / 453 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.1955, allocations: 23.92 kB / 453 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/0.1957, allocations: 69.67 kB / 453 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.1957, allocations: 7.984 kB / 453.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002718/0.1985, allocations: 3.001 MB / 456.1 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.1985, allocations: 8.031 kB / 456.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.1991, allocations: 400.2 kB / 456.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.1992, allocations: 92.94 kB / 456.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1992, allocations: 8 kB / 456.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.1994, allocations: 11.98 kB / 456.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.1995, allocations: 20.05 kB / 456.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1995, allocations: 4 kB / 456.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.1997, allocations: 157.5 kB / 456.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1997, allocations: 0 / 456.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.2001, allocations: 64 kB / 456.8 MB, free: 5.602 MB / 334.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.0001636/0.2002, allocations: 103.2 kB / 456.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006909/0.2009, allocations: 405.2 kB / 457.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.201, allocations: 4 kB / 457.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.2014, allocations: 329.3 kB / 457.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.2019, allocations: 40.89 kB / 457.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.2029, allocations: 0.5043 MB / 458.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.2032, allocations: 0.748 MB / 458.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.556e-05/0.2033, allocations: 17.95 kB / 458.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.2034, allocations: 15.44 kB / 459 MB, free: 3.348 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2034, allocations: 0 / 459 MB, free: 3.348 MB / 334.1 MB Notification: Performance of Templates: time 0.006472/0.2099, allocations: 2.674 MB / 461.6 MB, free: 0.6953 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches