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/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 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 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) 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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009256, allocations: 93.52 kB / 16.99 MB, free: 5.938 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.0009452/0.0009454, allocations: 180.9 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.25/0.25, allocations: 44.22 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 11.98 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 61.93 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002441/0.141, allocations: 2.046 MB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.142, allocations: 0.5809 MB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1421, allocations: 4 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.021e-05/0.1422, allocations: 27.77 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1424, allocations: 87.73 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1426, allocations: 59.88 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1428, allocations: 191.6 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.143, allocations: 68.64 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1431, allocations: 103.6 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1433, allocations: 95.59 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.1433, allocations: 15.94 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-05/0.1434, allocations: 12 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.1434, allocations: 35.91 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.1435, allocations: 69.58 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1436, allocations: 203.7 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1437, allocations: 0 / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1437, allocations: 0 / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1437, allocations: 0 / 475 MB, free: 10.15 MB / 350.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.000666/0.1443, allocations: 0.4989 MB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1444, allocations: 8.562 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.1444, allocations: 31.62 kB / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1447, allocations: 234.7 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1447, allocations: 20.44 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.1448, allocations: 20 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.1451, allocations: 191.2 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1451, allocations: 0 / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.1452, allocations: 12 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1452, allocations: 4 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.1454, allocations: 141.6 kB / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.1466, allocations: 0.8259 MB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1468, allocations: 98.48 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.1468, allocations: 4 kB / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.1469, allocations: 30.56 kB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1469, allocations: 0 / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001632/0.1485, allocations: 0.7635 MB / 477.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.1486, allocations: 55.41 kB / 477.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1488, allocations: 207.7 kB / 478.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1488, allocations: 33.7 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.1489, allocations: 167.8 kB / 478.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.1489, allocations: 59.16 kB / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/0.1489, allocations: 0 / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.149, allocations: 330.8 kB / 478.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1492, allocations: 67.97 kB / 478.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1493, allocations: 101.1 kB / 478.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1495, allocations: 79.92 kB / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1495, allocations: 3.953 kB / 479 MB, free: 5.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004834/0.15, allocations: 289 kB / 479.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.15, allocations: 4 kB / 479.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.15, allocations: 4 kB / 479.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.1503, allocations: 69.72 kB / 479.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1504, allocations: 35.98 kB / 479.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.1525, allocations: 2.836 MB / 482.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.1526, allocations: 12.12 kB / 482.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.1527, allocations: 8 kB / 482.2 MB, free: 2.355 MB / 350.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 (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.0001322/0.1528, allocations: 141.7 kB / 482.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.1528, allocations: 15.81 kB / 482.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.1529, allocations: 25.81 kB / 482.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1529, allocations: 4 kB / 482.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1529, allocations: 4 kB / 482.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1529, allocations: 0 / 482.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.1532, allocations: 285.5 kB / 482.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1532, allocations: 0 / 482.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.243e-05/0.1533, allocations: 15.98 kB / 482.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/0.1535, allocations: 69.61 kB / 482.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1535, allocations: 8.594 kB / 482.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.1556, allocations: 2.831 MB / 485.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1556, allocations: 3.938 kB / 485.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.1562, allocations: 396.9 kB / 486 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.1562, allocations: 93.02 kB / 486.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.1563, allocations: 0 / 486.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1564, allocations: 19.98 kB / 486.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.1565, allocations: 27.86 kB / 486.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1565, allocations: 4 kB / 486.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1567, allocations: 148.2 kB / 486.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1567, allocations: 4 kB / 486.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.1571, allocations: 60 kB / 486.4 MB, free: 13.86 MB / 366.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 (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.0001349/0.1572, allocations: 103.2 kB / 486.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006469/0.1578, allocations: 421.1 kB / 486.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1579, allocations: 0 / 486.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.1583, allocations: 333.6 kB / 487.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.1585, allocations: 24.17 kB / 487.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009826/0.1595, allocations: 0.6087 MB / 487.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1598, allocations: 0.7595 MB / 488.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.204e-05/0.1599, allocations: 17.95 kB / 488.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.16, allocations: 15.44 kB / 488.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.16, allocations: 0 / 488.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of Templates: time 0.005443/0.1654, allocations: 2.432 MB / 491 MB, free: 9.07 MB / 366.1 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