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.001214/0.001214, allocations: 107.9 kB / 17.09 MB, free: 5.777 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.001342/0.001342, allocations: 190.9 kB / 18.02 MB, free: 4.918 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.343/1.343, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2048/0.2048, allocations: 43.53 MB / 314.8 MB, free: 464 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.001539/0.001539, allocations: 69.45 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1107, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003962/0.1147, allocations: 2.525 MB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.116, allocations: 0.6436 MB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.1163, allocations: 4 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1165, allocations: 35.64 kB / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.1168, allocations: 79.28 kB / 0.4917 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1171, allocations: 63.91 kB / 0.4918 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.1175, allocations: 286.8 kB / 0.4921 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.1177, allocations: 92.5 kB / 0.4922 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.1179, allocations: 111.6 kB / 0.4923 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1181, allocations: 135.3 kB / 0.4924 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.1181, allocations: 20 kB / 0.4924 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.027e-05/0.1182, allocations: 24 kB / 0.4924 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.1183, allocations: 47.84 kB / 0.4925 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1184, allocations: 127.4 kB / 0.4926 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.1187, allocations: 279 kB / 0.4929 GB, free: 7.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1187, allocations: 0 / 0.4929 GB, free: 7.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1187, allocations: 0 / 0.4929 GB, free: 7.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1187, allocations: 0 / 0.4929 GB, free: 7.336 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.0008174/0.1195, allocations: 0.534 MB / 0.4934 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1196, allocations: 11.89 kB / 0.4934 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.1197, allocations: 28.66 kB / 0.4934 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.12, allocations: 248.3 kB / 0.4937 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.12, allocations: 20.81 kB / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.1201, allocations: 20.38 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.1204, allocations: 195.6 kB / 0.4939 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1205, allocations: 0 / 0.4939 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.1205, allocations: 8 kB / 0.4939 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1205, allocations: 8 kB / 0.4939 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.1208, allocations: 137.7 kB / 0.494 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.1221, allocations: 0.8024 MB / 0.4948 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1223, allocations: 94.48 kB / 0.4949 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1224, allocations: 48.84 kB / 0.495 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1224, allocations: 0 / 0.495 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1224, allocations: 38.69 kB / 0.495 GB, free: 4.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.1224, allocations: 0 / 0.495 GB, free: 4.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001676/0.1241, allocations: 0.7218 MB / 0.4957 GB, free: 4.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1242, allocations: 63.28 kB / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.1244, allocations: 203.8 kB / 0.4959 GB, free: 3.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1244, allocations: 33.7 kB / 0.496 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1245, allocations: 163.8 kB / 0.4961 GB, free: 3.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.1245, allocations: 55.2 kB / 0.4962 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.1246, allocations: 49.7 kB / 0.4962 GB, free: 3.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1248, allocations: 338.7 kB / 0.4966 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1249, allocations: 55.97 kB / 0.4966 GB, free: 3.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.125, allocations: 101.1 kB / 0.4967 GB, free: 3.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.1253, allocations: 176.5 kB / 0.4969 GB, free: 2.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1253, allocations: 0 / 0.4969 GB, free: 2.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004926/0.1258, allocations: 278.8 kB / 0.4971 GB, free: 2.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1259, allocations: 8 kB / 0.4972 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1259, allocations: 0 / 0.4972 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.1261, allocations: 85.77 kB / 0.4972 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.1263, allocations: 31.97 kB / 0.4973 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.1286, allocations: 3.013 MB / 0.5002 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.1287, allocations: 12.17 kB / 0.5002 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.1288, allocations: 16 kB / 0.5002 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.0001291/0.1289, allocations: 133.7 kB / 0.5004 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.1289, allocations: 19.81 kB / 0.5004 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.129, allocations: 29.92 kB / 0.5004 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.129, allocations: 0 / 0.5004 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.129, allocations: 0 / 0.5004 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.1291, allocations: 92.92 kB / 0.5005 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.1291, allocations: 3.984 kB / 0.5005 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1293, allocations: 16 kB / 0.5005 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.1294, allocations: 19.91 kB / 0.5005 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006489/0.13, allocations: 322.3 kB / 0.5008 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005043/0.1305, allocations: 418.3 kB / 0.5012 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001215/0.1307, allocations: 63.75 kB / 0.5013 GB, free: 14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1308, allocations: 153.5 kB / 0.5014 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Backend: time 7.71e-07/0.1308, allocations: 0 / 0.5014 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000872/0.1317, allocations: 435.7 kB / 0.5019 GB, free: 13.39 MB / 398.1 MB Notification: Performance of SimCode: time 0.001005/0.1327, allocations: 0.9752 MB / 0.5028 GB, free: 12.38 MB / 398.1 MB Notification: Performance of Templates: time 0.006381/0.1391, allocations: 2.881 MB / 0.5056 GB, free: 9.508 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches