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.001101/0.001101, allocations: 113.2 kB / 16.64 MB, free: 6.922 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.001195/0.001195, allocations: 190.5 kB / 17.56 MB, free: 6.027 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.423/1.423, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2108/0.2108, allocations: 43.51 MB / 314.3 MB, free: 0.707 MB / 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.001756/0.001756, allocations: 67.95 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1068, allocations: 57.79 MB / 440.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003408/0.1103, allocations: 2.565 MB / 443.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1114, allocations: 0.6319 MB / 443.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.1117, allocations: 8 kB / 443.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.112, allocations: 27.77 kB / 443.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1122, allocations: 67.45 kB / 443.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1125, allocations: 51.95 kB / 444 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.1128, allocations: 290.8 kB / 444.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.1131, allocations: 84.88 kB / 444.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.1133, allocations: 115.6 kB / 444.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1134, allocations: 123.4 kB / 444.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.1135, allocations: 20 kB / 444.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.414e-05/0.1135, allocations: 24 kB / 444.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.1136, allocations: 51.84 kB / 444.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.93e-05/0.1137, allocations: 127.4 kB / 444.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1139, allocations: 207.5 kB / 445 MB, free: 2.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1139, allocations: 0 / 445 MB, free: 2.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1139, allocations: 0 / 445 MB, free: 2.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1139, allocations: 0 / 445 MB, free: 2.965 MB / 318.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.0007323/0.1146, allocations: 0.5379 MB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1147, allocations: 11.89 kB / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.1148, allocations: 28.66 kB / 445.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.115, allocations: 245 kB / 445.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1151, allocations: 20.8 kB / 445.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.1151, allocations: 24.31 kB / 445.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.1154, allocations: 191.6 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1155, allocations: 0 / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.1155, allocations: 8 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1155, allocations: 12 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.1158, allocations: 133.7 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.1169, allocations: 0.8102 MB / 447 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1171, allocations: 102.5 kB / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.1171, allocations: 44.84 kB / 447.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1172, allocations: 4 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1172, allocations: 38.69 kB / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1172, allocations: 0 / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001606/0.1188, allocations: 0.7291 MB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1189, allocations: 55.34 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1191, allocations: 207.8 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1191, allocations: 29.7 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1192, allocations: 167.8 kB / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.1193, allocations: 55.11 kB / 448.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.1194, allocations: 57.55 kB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1195, allocations: 330.8 kB / 448.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1196, allocations: 59.97 kB / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1198, allocations: 102.2 kB / 449 MB, free: 14.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.1201, allocations: 173.1 kB / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1201, allocations: 4 kB / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005547/0.1206, allocations: 278.9 kB / 449.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.1207, allocations: 4 kB / 449.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1207, allocations: 4.656 kB / 449.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.121, allocations: 77.77 kB / 449.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.1212, allocations: 31.98 kB / 449.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.1236, allocations: 3.02 MB / 452.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1238, allocations: 7.984 kB / 452.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1238, allocations: 8 kB / 452.6 MB, free: 10.78 MB / 334.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.0001404/0.124, allocations: 146.2 kB / 452.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.124, allocations: 19.75 kB / 452.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.1241, allocations: 26.05 kB / 452.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1241, allocations: 4 kB / 452.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1241, allocations: 4 kB / 452.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1241, allocations: 0 / 452.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.1244, allocations: 289.5 kB / 453.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1244, allocations: 7.984 kB / 453.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.1245, allocations: 12 kB / 453.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001838/0.1247, allocations: 69.7 kB / 453.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1247, allocations: 3.984 kB / 453.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.1269, allocations: 3.009 MB / 456.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1269, allocations: 0 / 456.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.1275, allocations: 404.5 kB / 456.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.1275, allocations: 93.19 kB / 456.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.1276, allocations: 4 kB / 456.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1278, allocations: 27.91 kB / 456.7 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.1278, allocations: 15.97 kB / 456.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1278, allocations: 4 kB / 456.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.128, allocations: 157.5 kB / 456.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.128, allocations: 0 / 456.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.1283, allocations: 60 kB / 456.9 MB, free: 6.066 MB / 334.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.0001118/0.1285, allocations: 107.2 kB / 457 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006658/0.1291, allocations: 409.1 kB / 457.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1291, allocations: 4.312 kB / 457.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.1296, allocations: 317.4 kB / 457.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.13, allocations: 31.92 kB / 457.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.131, allocations: 0.6314 MB / 458.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1313, allocations: 0.744 MB / 459.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.1314, allocations: 23.42 kB / 459.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1314, allocations: 0 / 459.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of Templates: time 0.006807/0.1382, allocations: 4.521 MB / 463.7 MB, free: 15.18 MB / 350.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","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches