Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 103 kB / 16.93 MB, free: 5.68 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.00144/0.00144, allocations: 186.4 kB / 17.86 MB, free: 5.164 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.408/1.408, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.2039/0.2039, allocations: 43.52 MB / 314.6 MB, free: 0.543 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.001542/0.001542, allocations: 73.38 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09791, allocations: 57.79 MB / 441.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004005/0.102, allocations: 3.426 MB / 444.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1032, allocations: 0.8226 MB / 445.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.1034, allocations: 8 kB / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.1036, allocations: 79.22 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.1038, allocations: 122.8 kB / 445.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1041, allocations: 131.8 kB / 445.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.1045, allocations: 0.514 MB / 446.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.1048, allocations: 246.1 kB / 446.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.105, allocations: 203.3 kB / 446.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.1052, allocations: 242.9 kB / 447 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.1053, allocations: 48 kB / 447 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.1054, allocations: 52 kB / 447.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.1055, allocations: 107.6 kB / 447.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.1056, allocations: 246.8 kB / 447.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.106, allocations: 0.545 MB / 447.9 MB, free: 124 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.106, allocations: 0 / 447.9 MB, free: 124 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.106, allocations: 0 / 447.9 MB, free: 124 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.106, allocations: 3.938 kB / 447.9 MB, free: 120 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001267/0.1073, allocations: 0.7642 MB / 448.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1073, allocations: 12.03 kB / 448.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1074, allocations: 48.38 kB / 448.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.1078, allocations: 321.3 kB / 449.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.1079, allocations: 37.38 kB / 449.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.1079, allocations: 52.31 kB / 449.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.1087, allocations: 459.3 kB / 449.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.1088, allocations: 0 / 449.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.1088, allocations: 20 kB / 449.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1088, allocations: 16 kB / 449.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.1095, allocations: 327.8 kB / 450 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.112, allocations: 1.678 MB / 451.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.1126, allocations: 245 kB / 451.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.1129, allocations: 133.7 kB / 452 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.113, allocations: 0 / 452 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.113, allocations: 46.5 kB / 452.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.113, allocations: 3.938 kB / 452.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002897/0.1159, allocations: 1.338 MB / 453.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.116, allocations: 81.11 kB / 453.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.1162, allocations: 266.5 kB / 453.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.1163, allocations: 33.7 kB / 453.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1164, allocations: 263.4 kB / 454 MB, free: 9.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.1165, allocations: 118.3 kB / 454.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1166, allocations: 78.03 kB / 454.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1167, allocations: 334.8 kB / 454.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.117, allocations: 112.8 kB / 454.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.1174, allocations: 216.2 kB / 454.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/0.118, allocations: 344 kB / 455.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.118, allocations: 4 kB / 455.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007966/0.1188, allocations: 418.5 kB / 455.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1188, allocations: 8 kB / 455.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1188, allocations: 7.938 kB / 455.6 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.119, allocations: 28.84 kB / 455.7 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.1194, allocations: 119.8 kB / 455.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.1206, allocations: 1.446 MB / 457.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.1209, allocations: 19.98 kB / 457.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.1209, allocations: 16 kB / 457.3 MB, free: 6.129 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.1211, allocations: 165.8 kB / 457.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.1212, allocations: 31.62 kB / 457.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.1212, allocations: 34.17 kB / 457.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1212, allocations: 4 kB / 457.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1213, allocations: 4.062 kB / 457.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1213, allocations: 7.984 kB / 457.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1223, allocations: 0.7076 MB / 458.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.1223, allocations: 4 kB / 458.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.1227, allocations: 92 kB / 458.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.769e-05/0.1228, allocations: 32.77 kB / 458.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1228, allocations: 11.94 kB / 458.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009139/0.1238, allocations: 1.426 MB / 459.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1238, allocations: 32 / 459.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009474/0.1247, allocations: 0.6123 MB / 460.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1249, allocations: 124.7 kB / 460.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.1249, allocations: 12 kB / 460.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.1252, allocations: 19.98 kB / 460.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.1252, allocations: 23.91 kB / 460.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1253, allocations: 12 kB / 460.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.1254, allocations: 190 kB / 460.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1254, allocations: 0 / 460.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000443/0.1259, allocations: 95.94 kB / 460.9 MB, free: 2.277 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001259/0.126, allocations: 107.1 kB / 461 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008043/0.1268, allocations: 414.9 kB / 461.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1269, allocations: 8.062 kB / 461.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.1272, allocations: 261.7 kB / 461.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.1277, allocations: 36.55 kB / 461.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.1292, allocations: 0.9337 MB / 462.6 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1295, allocations: 0.8074 MB / 463.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/0.1296, allocations: 43.36 kB / 463.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1296, allocations: 0 / 463.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of Templates: time 0.007567/0.1372, allocations: 5.911 MB / 469.4 MB, free: 9.68 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches