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.001053/0.001054, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001011/0.001011, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.299/1.299, allocations: 222.9 MB / 242.6 MB, free: 15.45 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.2027/0.2027, allocations: 44.18 MB / 336.9 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 65.08 kB / 408.5 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1111, allocations: 60.83 MB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004381/0.1155, allocations: 2.613 MB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1168, allocations: 0.5961 MB / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.1171, allocations: 7.938 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.1174, allocations: 27.77 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.1177, allocations: 59.53 kB / 472.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.118, allocations: 55.89 kB / 472.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.1184, allocations: 290.7 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.1186, allocations: 84.58 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1188, allocations: 111.6 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1189, allocations: 119.5 kB / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.119, allocations: 24 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.86e-05/0.119, allocations: 20 kB / 473.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.1191, allocations: 55.78 kB / 473.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1192, allocations: 127.4 kB / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1194, allocations: 215.7 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1194, allocations: 0 / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1194, allocations: 4 kB / 473.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1194, allocations: 0 / 473.7 MB, free: 10.35 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.0008166/0.1203, allocations: 0.5224 MB / 474.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1203, allocations: 19.97 kB / 474.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.1204, allocations: 24.66 kB / 474.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1206, allocations: 244.4 kB / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1207, allocations: 16.81 kB / 474.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.1207, allocations: 20.31 kB / 474.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.1211, allocations: 195.6 kB / 474.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1211, allocations: 0 / 474.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.1211, allocations: 12 kB / 474.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1212, allocations: 4 kB / 474.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.1214, allocations: 141.7 kB / 474.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.1228, allocations: 0.8063 MB / 475.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.123, allocations: 102.5 kB / 475.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.1232, allocations: 52.78 kB / 475.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1232, allocations: 0 / 475.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.1233, allocations: 30.56 kB / 475.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1233, allocations: 0 / 475.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001733/0.125, allocations: 0.7175 MB / 476.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1251, allocations: 59.39 kB / 476.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1253, allocations: 211.7 kB / 476.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1253, allocations: 33.64 kB / 476.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1254, allocations: 167.8 kB / 477.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.1255, allocations: 55.25 kB / 477.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.1255, allocations: 41.7 kB / 477.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1257, allocations: 334.8 kB / 477.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1258, allocations: 63.97 kB / 477.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.126, allocations: 105.1 kB / 477.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.1263, allocations: 173 kB / 477.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1263, allocations: 0 / 477.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004986/0.1268, allocations: 285.3 kB / 478.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1268, allocations: 11.98 kB / 478.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1268, allocations: 0 / 478.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.1271, allocations: 69.78 kB / 478.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1272, allocations: 39.97 kB / 478.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.1295, allocations: 3.005 MB / 481.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.1297, allocations: 11.98 kB / 481.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.1297, allocations: 7.938 kB / 481.3 MB, free: 2.188 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.0001349/0.1299, allocations: 146.3 kB / 481.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.1299, allocations: 23.72 kB / 481.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.13, allocations: 25.86 kB / 481.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.13, allocations: 0 / 481.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.13, allocations: 4 kB / 481.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.13, allocations: 0.6562 kB / 481.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.1303, allocations: 285.4 kB / 481.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1303, allocations: 0 / 481.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.1304, allocations: 19.98 kB / 481.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/0.1306, allocations: 69.67 kB / 481.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1306, allocations: 0 / 481.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.1327, allocations: 3.009 MB / 484.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1328, allocations: 8 kB / 484.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.1334, allocations: 392.7 kB / 485.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.1334, allocations: 92.95 kB / 485.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1335, allocations: 0 / 485.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1336, allocations: 24.05 kB / 485.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.1337, allocations: 19.91 kB / 485.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1337, allocations: 4 kB / 485.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.1339, allocations: 148.2 kB / 485.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1339, allocations: 0 / 485.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.1343, allocations: 64 kB / 485.6 MB, free: 13.5 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.0001119/0.1344, allocations: 105.5 kB / 485.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006364/0.135, allocations: 413.1 kB / 486.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.135, allocations: 0 / 486.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.1354, allocations: 328.4 kB / 486.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1359, allocations: 32.08 kB / 486.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1369, allocations: 0.6283 MB / 487.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1372, allocations: 0.744 MB / 487.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.1373, allocations: 15.44 kB / 487.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1373, allocations: 4 kB / 487.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Templates: time 0.006134/0.1434, allocations: 4.524 MB / 492.4 MB, free: 6.602 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