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.001139/0.001139, allocations: 108.7 kB / 16.4 MB, free: 6.367 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.001039/0.001039, allocations: 196.2 kB / 17.34 MB, free: 5.844 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.787/1.787, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2496/0.2496, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.001261/0.001261, allocations: 69.45 kB / 441.8 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1269, allocations: 57.79 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003483/0.1304, allocations: 2.526 MB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009862/0.1314, allocations: 0.6436 MB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1315, allocations: 7.938 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.1316, allocations: 39.64 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1318, allocations: 71.34 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.132, allocations: 67.84 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.1323, allocations: 286.8 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1325, allocations: 92.56 kB / 0.4915 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.1327, allocations: 115.6 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.1329, allocations: 115.5 kB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.1329, allocations: 24 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.323e-05/0.1329, allocations: 24 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.133, allocations: 51.78 kB / 0.4918 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1331, allocations: 123.4 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.1334, allocations: 282.8 kB / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.1335, allocations: 8 kB / 0.4922 GB, free: 7.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1335, allocations: 0 / 0.4922 GB, free: 7.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1335, allocations: 0 / 0.4922 GB, free: 7.355 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.0007633/0.1343, allocations: 0.5333 MB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1343, allocations: 15.89 kB / 0.4927 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.1344, allocations: 28.8 kB / 0.4928 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1346, allocations: 248.4 kB / 0.493 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1346, allocations: 16.81 kB / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1347, allocations: 20.38 kB / 0.493 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.135, allocations: 199.5 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.135, allocations: 0 / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.1351, allocations: 12 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1351, allocations: 7.938 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.1354, allocations: 141.7 kB / 0.4934 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.1366, allocations: 0.8027 MB / 0.4942 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1368, allocations: 102.4 kB / 0.4943 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.1369, allocations: 40.84 kB / 0.4943 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1369, allocations: 4 kB / 0.4943 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.1369, allocations: 38.56 kB / 0.4943 GB, free: 4.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1369, allocations: 0 / 0.4943 GB, free: 4.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001664/0.1386, allocations: 0.7218 MB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1387, allocations: 51.41 kB / 0.4951 GB, free: 4.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1389, allocations: 215.8 kB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1389, allocations: 29.64 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.139, allocations: 172.1 kB / 0.4955 GB, free: 3.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.1391, allocations: 59.47 kB / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.1391, allocations: 53.59 kB / 0.4956 GB, free: 3.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1393, allocations: 334.8 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1394, allocations: 59.97 kB / 0.496 GB, free: 3.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.1396, allocations: 101.1 kB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.1399, allocations: 177 kB / 0.4962 GB, free: 2.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1399, allocations: 0 / 0.4962 GB, free: 2.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004849/0.1404, allocations: 278.9 kB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1404, allocations: 4 kB / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1404, allocations: 4 kB / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.1406, allocations: 69.83 kB / 0.4966 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.1408, allocations: 39.91 kB / 0.4966 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.1431, allocations: 3.017 MB / 0.4996 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1433, allocations: 12.64 kB / 0.4996 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1433, allocations: 4 kB / 0.4996 GB, free: 15.16 MB / 398.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.0001472/0.1435, allocations: 137.8 kB / 0.4997 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.1435, allocations: 23.8 kB / 0.4997 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.1436, allocations: 29.92 kB / 0.4998 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1436, allocations: 4 kB / 0.4998 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1436, allocations: 0 / 0.4998 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1436, allocations: 3.938 kB / 0.4998 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.1439, allocations: 293.3 kB / 0.5 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1439, allocations: 0 / 0.5 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-05/0.144, allocations: 15.98 kB / 0.5001 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.1442, allocations: 69.7 kB / 0.5001 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1442, allocations: 8 kB / 0.5001 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.1464, allocations: 3.005 MB / 0.5031 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1464, allocations: 144 / 0.5031 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.147, allocations: 400.8 kB / 0.5034 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1471, allocations: 89.05 kB / 0.5035 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1471, allocations: 8.125 kB / 0.5035 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.1473, allocations: 15.98 kB / 0.5036 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.1474, allocations: 19.91 kB / 0.5036 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1474, allocations: 4 kB / 0.5036 GB, free: 10.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1475, allocations: 161.4 kB / 0.5037 GB, free: 10.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1475, allocations: 0 / 0.5037 GB, free: 10.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.1479, allocations: 64 kB / 0.5038 GB, free: 10.45 MB / 398.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.0001104/0.148, allocations: 103.2 kB / 0.5039 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.1486, allocations: 401.2 kB / 0.5043 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1486, allocations: 4.312 kB / 0.5043 GB, free: 9.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.149, allocations: 340.9 kB / 0.5046 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1494, allocations: 30.73 kB / 0.5046 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009546/0.1503, allocations: 0.5088 MB / 0.5051 GB, free: 9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1507, allocations: 0.744 MB / 0.5059 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.604e-05/0.1507, allocations: 17.95 kB / 0.5059 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.1508, allocations: 15.44 kB / 0.5059 GB, free: 8.199 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1508, allocations: 0 / 0.5059 GB, free: 8.199 MB / 398.1 MB Notification: Performance of Templates: time 0.005714/0.1565, allocations: 2.721 MB / 0.5085 GB, free: 5.492 MB / 398.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