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.001285/0.001285, allocations: 114.4 kB / 17.08 MB, free: 5.969 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.001234/0.001234, allocations: 194.5 kB / 18.01 MB, free: 5.055 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.296/1.296, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.1968/0.1968, allocations: 43.51 MB / 314.8 MB, free: 452 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.001688/0.001688, allocations: 69.45 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1098, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004239/0.1141, allocations: 2.527 MB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1154, allocations: 0.6397 MB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.1156, allocations: 4 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1159, allocations: 47.56 kB / 0.4917 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1161, allocations: 67.34 kB / 0.4917 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1164, allocations: 67.91 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.1168, allocations: 290.7 kB / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.117, allocations: 92.5 kB / 0.4921 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.1172, allocations: 115.6 kB / 0.4923 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.1174, allocations: 115.5 kB / 0.4924 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.1175, allocations: 24 kB / 0.4924 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-05/0.1175, allocations: 24 kB / 0.4924 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.1176, allocations: 51.84 kB / 0.4925 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.1177, allocations: 127.4 kB / 0.4926 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.118, allocations: 279 kB / 0.4928 GB, free: 7.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.118, allocations: 0 / 0.4928 GB, free: 7.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.118, allocations: 0 / 0.4928 GB, free: 7.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.118, allocations: 0 / 0.4928 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.000826/0.1189, allocations: 0.534 MB / 0.4934 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1189, allocations: 19.83 kB / 0.4934 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.119, allocations: 24.66 kB / 0.4934 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.1194, allocations: 248.3 kB / 0.4937 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1194, allocations: 16.81 kB / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.1195, allocations: 20.38 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.1198, allocations: 195.6 kB / 0.4939 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1199, allocations: 0 / 0.4939 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.1199, allocations: 8 kB / 0.4939 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1199, allocations: 12 kB / 0.4939 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.1202, allocations: 141.6 kB / 0.494 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.1215, allocations: 0.7986 MB / 0.4948 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1217, allocations: 94.48 kB / 0.4949 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.1218, allocations: 52.97 kB / 0.4949 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1218, allocations: 0 / 0.4949 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1218, allocations: 42.5 kB / 0.495 GB, free: 4.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.1218, allocations: 0 / 0.495 GB, free: 4.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001728/0.1236, allocations: 0.7212 MB / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.1236, allocations: 55.41 kB / 0.4957 GB, free: 4.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1238, allocations: 211.7 kB / 0.4959 GB, free: 3.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1238, allocations: 25.7 kB / 0.496 GB, free: 3.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.823e-05/0.1239, allocations: 171.8 kB / 0.4961 GB, free: 3.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.124, allocations: 59.19 kB / 0.4962 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.1241, allocations: 45.61 kB / 0.4962 GB, free: 3.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1242, allocations: 334.8 kB / 0.4966 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1243, allocations: 55.97 kB / 0.4966 GB, free: 3.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.1245, allocations: 105.1 kB / 0.4967 GB, free: 3.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.1248, allocations: 176.4 kB / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1248, allocations: 8 kB / 0.4969 GB, free: 2.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004982/0.1253, allocations: 274.8 kB / 0.4971 GB, free: 2.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1253, allocations: 8 kB / 0.4972 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1253, allocations: 0 / 0.4972 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.1256, allocations: 77.83 kB / 0.4972 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.1257, allocations: 31.97 kB / 0.4973 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.128, allocations: 3.013 MB / 0.5002 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1282, allocations: 12.02 kB / 0.5002 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1282, allocations: 12 kB / 0.5002 GB, free: 15.15 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.000122/0.1283, allocations: 133.7 kB / 0.5004 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.1284, allocations: 23.88 kB / 0.5004 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.1284, allocations: 25.86 kB / 0.5004 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1285, allocations: 0 / 0.5004 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.1285, allocations: 4 kB / 0.5004 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1285, allocations: 0 / 0.5004 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.1288, allocations: 285.4 kB / 0.5007 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1288, allocations: 4.656 kB / 0.5007 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.1289, allocations: 19.98 kB / 0.5007 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.1291, allocations: 73.64 kB / 0.5008 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1291, allocations: 4 kB / 0.5008 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.1312, allocations: 3.001 MB / 0.5037 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1312, allocations: 144 / 0.5037 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.1319, allocations: 404.6 kB / 0.5041 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.1319, allocations: 96.89 kB / 0.5042 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.132, allocations: 4 kB / 0.5042 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.1322, allocations: 15.98 kB / 0.5042 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.1322, allocations: 15.97 kB / 0.5042 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1323, allocations: 11.94 kB / 0.5042 GB, free: 10.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1324, allocations: 149.5 kB / 0.5044 GB, free: 10.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 4.062 kB / 0.5044 GB, free: 10.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.1328, allocations: 64 kB / 0.5044 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.0001096/0.1329, allocations: 99.25 kB / 0.5045 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.1336, allocations: 421 kB / 0.5049 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1336, allocations: 0 / 0.5049 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.134, allocations: 317.4 kB / 0.5052 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1344, allocations: 30.73 kB / 0.5053 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1354, allocations: 0.5423 MB / 0.5058 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1358, allocations: 0.7401 MB / 0.5065 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.1358, allocations: 19.42 kB / 0.5065 GB, free: 8.188 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1358, allocations: 8 kB / 0.5065 GB, free: 8.18 MB / 398.1 MB Notification: Performance of Templates: time 0.006833/0.1427, allocations: 4.549 MB / 0.511 GB, free: 3.629 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