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.0014/0.0014, allocations: 106 kB / 17.03 MB, free: 5.703 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.001338/0.001338, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.504/1.504, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2185/0.2185, allocations: 43.52 MB / 314.7 MB, free: 480 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.001534/0.001534, allocations: 64.97 kB / 384.2 MB, free: 56.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003068/0.1158, allocations: 2.515 MB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.1167, allocations: 0.6436 MB / 445.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1168, allocations: 4 kB / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.117, allocations: 39.58 kB / 445.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1171, allocations: 67.34 kB / 445.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1173, allocations: 71.91 kB / 445.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1175, allocations: 290.8 kB / 445.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1177, allocations: 84.58 kB / 445.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1179, allocations: 111.6 kB / 445.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.118, allocations: 119.4 kB / 445.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.118, allocations: 20 kB / 445.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.1181, allocations: 24 kB / 445.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.1181, allocations: 59.81 kB / 446 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.1182, allocations: 119.4 kB / 446.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1184, allocations: 287 kB / 446.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1184, allocations: 0 / 446.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1184, allocations: 0 / 446.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1184, allocations: 0 / 446.4 MB, free: 1.691 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.000613/0.1191, allocations: 0.534 MB / 446.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1191, allocations: 15.83 kB / 446.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.1192, allocations: 24.66 kB / 447 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1194, allocations: 247.8 kB / 447.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1194, allocations: 20.81 kB / 447.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.1195, allocations: 16.38 kB / 447.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.1198, allocations: 195.6 kB / 447.4 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1198, allocations: 0 / 447.4 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1198, allocations: 8 kB / 447.4 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1198, allocations: 8 kB / 447.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.1201, allocations: 141.7 kB / 447.6 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.1213, allocations: 0.7985 MB / 448.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1215, allocations: 98.48 kB / 448.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1216, allocations: 56.83 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1216, allocations: 192 / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1216, allocations: 38.5 kB / 448.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1217, allocations: 0 / 448.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001821/0.1235, allocations: 0.7245 MB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1235, allocations: 59.34 kB / 449.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1237, allocations: 207.8 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1238, allocations: 29.7 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1239, allocations: 163.8 kB / 449.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.1239, allocations: 59.19 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.124, allocations: 45.55 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1241, allocations: 330.8 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1243, allocations: 63.97 kB / 450.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1245, allocations: 106.2 kB / 450.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.1248, allocations: 181.9 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1248, allocations: 0 / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005/0.1253, allocations: 283 kB / 450.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1253, allocations: 8 kB / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1253, allocations: 0 / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.1255, allocations: 69.67 kB / 450.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1257, allocations: 31.98 kB / 450.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.128, allocations: 3.021 MB / 453.9 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.1281, allocations: 12.06 kB / 453.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1281, allocations: 8 kB / 453.9 MB, free: 9.516 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.0001462/0.1283, allocations: 142.1 kB / 454.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.1283, allocations: 19.81 kB / 454.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.1284, allocations: 21.88 kB / 454.1 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1284, allocations: 0 / 454.1 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1284, allocations: 4 kB / 454.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1284, allocations: 3.984 kB / 454.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.1288, allocations: 285.5 kB / 454.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1288, allocations: 0 / 454.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.173e-05/0.1289, allocations: 15.98 kB / 454.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001895/0.1291, allocations: 69.67 kB / 454.5 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1291, allocations: 7.984 kB / 454.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.1313, allocations: 3.009 MB / 457.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1313, allocations: 0 / 457.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.1318, allocations: 404.6 kB / 457.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.1319, allocations: 96.94 kB / 458 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1319, allocations: 0 / 458 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1321, allocations: 24.05 kB / 458 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.1322, allocations: 11.98 kB / 458 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1322, allocations: 8 kB / 458 MB, free: 5.027 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1323, allocations: 153.5 kB / 458.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1323, allocations: 0 / 458.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.1326, allocations: 64 kB / 458.2 MB, free: 4.816 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.0001106/0.1328, allocations: 103.2 kB / 458.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006182/0.1334, allocations: 409.1 kB / 458.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1334, allocations: 0 / 458.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.1338, allocations: 325.7 kB / 459.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1341, allocations: 29.22 kB / 459.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009288/0.1351, allocations: 0.4974 MB / 459.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1354, allocations: 0.7518 MB / 460.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.474e-05/0.1355, allocations: 17.95 kB / 460.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.1355, allocations: 15.44 kB / 460.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1355, allocations: 0 / 460.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of Templates: time 0.005856/0.1414, allocations: 2.68 MB / 463.1 MB, free: 15.92 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 -s gbode -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