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.00111/0.001111, allocations: 113.6 kB / 17.08 MB, free: 6.016 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.001183/0.001183, allocations: 198.3 kB / 18.01 MB, free: 5.094 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.442/1.442, 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.213/0.213, allocations: 43.52 MB / 314.8 MB, free: 456 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.001598/0.001598, allocations: 67.89 kB / 442.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1099, allocations: 57.78 MB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003675/0.1136, allocations: 2.535 MB / 0.491 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1149, allocations: 0.6435 MB / 0.4916 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.1151, allocations: 4 kB / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.1153, allocations: 35.64 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.1155, allocations: 67.36 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1158, allocations: 75.83 kB / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.1161, allocations: 286.8 kB / 0.4921 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1163, allocations: 92.5 kB / 0.4921 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1164, allocations: 111.6 kB / 0.4922 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1166, allocations: 115.5 kB / 0.4924 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.1166, allocations: 24 kB / 0.4924 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.092e-05/0.1167, allocations: 27.94 kB / 0.4924 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.1168, allocations: 59.81 kB / 0.4925 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1169, allocations: 119.4 kB / 0.4926 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1171, allocations: 287 kB / 0.4929 GB, free: 7.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1172, allocations: 0 / 0.4929 GB, free: 7.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1172, allocations: 0 / 0.4929 GB, free: 7.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1172, allocations: 0 / 0.4929 GB, free: 7.359 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.000732/0.1179, allocations: 0.5301 MB / 0.4934 GB, free: 6.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.118, allocations: 11.89 kB / 0.4934 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.118, allocations: 28.66 kB / 0.4934 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.1183, allocations: 244.4 kB / 0.4936 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1184, allocations: 20.75 kB / 0.4937 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.1184, allocations: 20.36 kB / 0.4937 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.1188, allocations: 195.6 kB / 0.4939 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1188, allocations: 0 / 0.4939 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.1188, allocations: 8 kB / 0.4939 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1188, allocations: 8 kB / 0.4939 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.1191, allocations: 137.7 kB / 0.494 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1203, allocations: 0.8063 MB / 0.4948 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1204, allocations: 94.48 kB / 0.4949 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.1205, allocations: 48.84 kB / 0.4949 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1206, allocations: 3.938 kB / 0.4949 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1206, allocations: 38.55 kB / 0.495 GB, free: 4.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.475e-06/0.1206, allocations: 4 kB / 0.495 GB, free: 4.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001638/0.1222, allocations: 0.7249 MB / 0.4957 GB, free: 4.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.1223, allocations: 59.41 kB / 0.4957 GB, free: 4.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1225, allocations: 203.8 kB / 0.4959 GB, free: 3.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1225, allocations: 29.7 kB / 0.496 GB, free: 3.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.1226, allocations: 167.8 kB / 0.4961 GB, free: 3.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.1226, allocations: 59.19 kB / 0.4962 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.1227, allocations: 45.62 kB / 0.4962 GB, free: 3.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1228, allocations: 330.8 kB / 0.4965 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.123, allocations: 59.97 kB / 0.4966 GB, free: 3.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1231, allocations: 105.1 kB / 0.4967 GB, free: 3.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.1234, allocations: 172.5 kB / 0.4969 GB, free: 2.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1234, allocations: 0 / 0.4969 GB, free: 2.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000488/0.1239, allocations: 282.8 kB / 0.4971 GB, free: 2.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1239, allocations: 8 kB / 0.4971 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1239, allocations: 0 / 0.4971 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.1242, allocations: 81.77 kB / 0.4972 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1244, allocations: 31.98 kB / 0.4973 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.1265, allocations: 3.016 MB / 0.5002 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1267, allocations: 8.031 kB / 0.5002 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.1267, allocations: 8 kB / 0.5002 GB, free: 15.19 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.0001297/0.1269, allocations: 137.9 kB / 0.5003 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.1269, allocations: 19.81 kB / 0.5004 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.1269, allocations: 29.92 kB / 0.5004 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.127, allocations: 4 kB / 0.5004 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.127, allocations: 4 kB / 0.5004 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.127, allocations: 0 / 0.5004 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.1273, allocations: 282.1 kB / 0.5007 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1273, allocations: 0 / 0.5007 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-05/0.1274, allocations: 20.08 kB / 0.5007 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.1275, allocations: 69.66 kB / 0.5008 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1276, allocations: 8 kB / 0.5008 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.1296, allocations: 3.013 MB / 0.5037 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1296, allocations: 0 / 0.5037 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.1302, allocations: 400.6 kB / 0.5041 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.1303, allocations: 93.08 kB / 0.5042 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1303, allocations: 11.92 kB / 0.5042 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1305, allocations: 19.94 kB / 0.5042 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.1305, allocations: 15.97 kB / 0.5042 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1306, allocations: 8 kB / 0.5042 GB, free: 10.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1307, allocations: 149.5 kB / 0.5044 GB, free: 10.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1307, allocations: 0 / 0.5044 GB, free: 10.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.131, allocations: 64 kB / 0.5044 GB, free: 10.48 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.0001038/0.1311, allocations: 107.2 kB / 0.5045 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005985/0.1317, allocations: 409.1 kB / 0.5049 GB, free: 9.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1318, allocations: 4.312 kB / 0.5049 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004029/0.1322, allocations: 321.3 kB / 0.5052 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.1325, allocations: 30.58 kB / 0.5053 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.1335, allocations: 0.5343 MB / 0.5058 GB, free: 9.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1338, allocations: 0.744 MB / 0.5065 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.1338, allocations: 19.44 kB / 0.5065 GB, free: 8.215 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1338, allocations: 0 / 0.5065 GB, free: 8.215 MB / 398.1 MB Notification: Performance of Templates: time 0.006156/0.14, allocations: 4.538 MB / 0.511 GB, free: 3.68 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