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.001509/0.001509, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001818/0.001818, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.388/1.388, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2186/0.2186, allocations: 44.18 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 59.17 kB / 409.1 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1211, allocations: 60.82 MB / 469.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004108/0.1253, allocations: 2.549 MB / 472.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1265, allocations: 0.5999 MB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.1268, allocations: 4 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.127, allocations: 47.58 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.1272, allocations: 63.36 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1275, allocations: 71.89 kB / 473.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.128, allocations: 290.7 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.1282, allocations: 88.58 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.1284, allocations: 107.6 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1286, allocations: 115.5 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.1287, allocations: 24 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.1288, allocations: 24 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.1288, allocations: 55.83 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.129, allocations: 127.4 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1293, allocations: 279.3 kB / 474.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1293, allocations: 0 / 474.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1293, allocations: 3.938 kB / 474.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.1293, allocations: 0 / 474.3 MB, free: 9.957 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.0009078/0.1302, allocations: 0.5302 MB / 474.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1303, allocations: 8.031 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.1304, allocations: 32.64 kB / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1307, allocations: 235.9 kB / 475.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.1307, allocations: 20.81 kB / 475.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.1307, allocations: 16.38 kB / 475.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1311, allocations: 195.6 kB / 475.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1311, allocations: 0 / 475.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.1312, allocations: 4 kB / 475.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1312, allocations: 8 kB / 475.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.1315, allocations: 149.6 kB / 475.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.1328, allocations: 0.7986 MB / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.133, allocations: 110.4 kB / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1332, allocations: 44.83 kB / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.1332, allocations: 4 kB / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1332, allocations: 34.56 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 5.43e-06/0.1332, allocations: 3.984 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001828/0.1351, allocations: 0.7242 MB / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1351, allocations: 51.41 kB / 477.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1353, allocations: 215.6 kB / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1354, allocations: 29.7 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.1355, allocations: 167.8 kB / 477.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.1355, allocations: 51.25 kB / 477.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.1356, allocations: 45.7 kB / 477.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1357, allocations: 330.8 kB / 478.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1359, allocations: 59.97 kB / 478.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.136, allocations: 105.1 kB / 478.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.1363, allocations: 172.9 kB / 478.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1364, allocations: 4 kB / 478.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005347/0.1369, allocations: 289.3 kB / 478.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1369, allocations: 6.812 kB / 478.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1369, allocations: 4 kB / 478.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.1372, allocations: 69.83 kB / 478.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.1374, allocations: 35.92 kB / 478.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.1398, allocations: 3.013 MB / 481.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.14, allocations: 8 kB / 481.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.14, allocations: 4 kB / 481.9 MB, free: 1.801 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 (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.0001621/0.1402, allocations: 145.8 kB / 482 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.1402, allocations: 23.7 kB / 482 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.1403, allocations: 22.72 kB / 482.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1403, allocations: 4 kB / 482.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1403, allocations: 4 kB / 482.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1403, allocations: 0 / 482.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.1406, allocations: 285.5 kB / 482.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1406, allocations: 0 / 482.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.65e-05/0.1408, allocations: 19.98 kB / 482.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.141, allocations: 77.48 kB / 482.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.141, allocations: 4 kB / 482.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.1432, allocations: 3.021 MB / 485.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1432, allocations: 3.938 kB / 485.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.1439, allocations: 392.8 kB / 485.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.144, allocations: 92.91 kB / 485.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.144, allocations: 8.125 kB / 485.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.1442, allocations: 15.98 kB / 486 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.1443, allocations: 11.98 kB / 486 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1443, allocations: 4 kB / 486 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1444, allocations: 152.2 kB / 486.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1444, allocations: 0 / 486.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.1448, allocations: 67.98 kB / 486.2 MB, free: 13.09 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 (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.0001178/0.1449, allocations: 109.5 kB / 486.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006779/0.1456, allocations: 405.2 kB / 486.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1456, allocations: 320 / 486.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.1461, allocations: 333.2 kB / 487 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1465, allocations: 26.75 kB / 487 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1476, allocations: 0.5346 MB / 487.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1479, allocations: 0.748 MB / 488.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.148, allocations: 19.44 kB / 488.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.148, allocations: 3.938 kB / 488.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of Templates: time 0.006894/0.1549, allocations: 4.517 MB / 492.9 MB, free: 6.301 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches