Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001208/0.001208, allocations: 183.9 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 44.2 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001678, allocations: 55.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.5064, allocations: 60.83 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005432/0.5118, allocations: 3.495 MB / 0.5223 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.5139, allocations: 0.7893 MB / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.5141, allocations: 12.38 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.5144, allocations: 73.33 kB / 0.5232 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.5147, allocations: 131.9 kB / 0.5233 GB, free: 428 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.5151, allocations: 130.5 kB / 0.5234 GB, free: 352 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007607/0.5159, allocations: 0.5146 MB / 0.5239 GB, free: 84 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.5165, allocations: 246.2 kB / 0.5241 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.5168, allocations: 221.6 kB / 0.5244 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.5172, allocations: 235.5 kB / 0.5246 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-05/0.5173, allocations: 48.44 kB / 0.5246 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.5174, allocations: 49.25 kB / 0.5247 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.5175, allocations: 108 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.5178, allocations: 252.9 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.5186, allocations: 0.5518 MB / 0.5256 GB, free: 15.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5186, allocations: 0 / 0.5256 GB, free: 15.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.5187, allocations: 0 / 0.5256 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.5187, allocations: 3.938 kB / 0.5256 GB, free: 15.28 MB / 398.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.001581/0.5203, allocations: 0.7628 MB / 0.5263 GB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5203, allocations: 14.38 kB / 0.5263 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.5204, allocations: 54.41 kB / 0.5264 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.521, allocations: 316.8 kB / 0.5267 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.521, allocations: 36.62 kB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.459e-05/0.5211, allocations: 47.27 kB / 0.5268 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.5222, allocations: 470.5 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.5222, allocations: 0 / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.5223, allocations: 24.06 kB / 0.5272 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.5223, allocations: 12.38 kB / 0.5272 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.5231, allocations: 328.2 kB / 0.5275 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.5258, allocations: 1.668 MB / 0.5292 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.5264, allocations: 236.4 kB / 0.5294 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.5268, allocations: 142.4 kB / 0.5295 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.5268, allocations: 6.688 kB / 0.5295 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.5268, allocations: 32.94 kB / 0.5296 GB, free: 12.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.5268, allocations: 1.094 kB / 0.5296 GB, free: 12.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003284/0.5301, allocations: 1.35 MB / 0.5309 GB, free: 11.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.5302, allocations: 81.33 kB / 0.531 GB, free: 11.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.5305, allocations: 253.8 kB / 0.5312 GB, free: 10.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.5306, allocations: 35.05 kB / 0.5312 GB, free: 10.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.5308, allocations: 260.4 kB / 0.5315 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/0.5309, allocations: 121.7 kB / 0.5316 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.531, allocations: 77.89 kB / 0.5317 GB, free: 10.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5312, allocations: 342.3 kB / 0.532 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.5315, allocations: 106 kB / 0.5321 GB, free: 10.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.5319, allocations: 219.1 kB / 0.5323 GB, free: 9.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.5326, allocations: 342.1 kB / 0.5326 GB, free: 9.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5326, allocations: 1.219 kB / 0.5327 GB, free: 9.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008799/0.5335, allocations: 420.9 kB / 0.5331 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5335, allocations: 6.75 kB / 0.5331 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5335, allocations: 3.531 kB / 0.5331 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.5337, allocations: 33.08 kB / 0.5331 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.5342, allocations: 124.2 kB / 0.5332 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.5355, allocations: 1.433 MB / 0.5346 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.5357, allocations: 12.56 kB / 0.5346 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.5358, allocations: 21.41 kB / 0.5346 GB, free: 7.914 MB / 398.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.0002169/0.536, allocations: 172 kB / 0.5348 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.5361, allocations: 30.28 kB / 0.5348 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.968e-05/0.5362, allocations: 43.67 kB / 0.5349 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5362, allocations: 3.781 kB / 0.5349 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5362, allocations: 4.062 kB / 0.5349 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5362, allocations: 0 / 0.5349 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5373, allocations: 0.7166 MB / 0.5356 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5373, allocations: 1.156 kB / 0.5356 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.5378, allocations: 101.5 kB / 0.5357 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.5379, allocations: 25.39 kB / 0.5357 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.5379, allocations: 11.34 kB / 0.5357 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.539, allocations: 1.435 MB / 0.5371 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.539, allocations: 0 / 0.5371 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.5401, allocations: 0.603 MB / 0.5377 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.5402, allocations: 123.5 kB / 0.5378 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.5403, allocations: 6.469 kB / 0.5378 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.5405, allocations: 23.17 kB / 0.5379 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.5406, allocations: 26.16 kB / 0.5379 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.5406, allocations: 16.58 kB / 0.5379 GB, free: 4.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.5409, allocations: 179 kB / 0.5381 GB, free: 4.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5409, allocations: 0 / 0.5381 GB, free: 4.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000522/0.5414, allocations: 93.31 kB / 0.5382 GB, free: 4.848 MB / 398.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.00017/0.5416, allocations: 106.4 kB / 0.5383 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009294/0.5425, allocations: 404.6 kB / 0.5386 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5425, allocations: 0.75 kB / 0.5386 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.5429, allocations: 252.5 kB / 0.5389 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.5434, allocations: 41.78 kB / 0.5389 GB, free: 4.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.5453, allocations: 0.8992 MB / 0.5398 GB, free: 3.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.5458, allocations: 0.8102 MB / 0.5406 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.546, allocations: 32.16 kB / 0.5406 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.5461, allocations: 29.81 kB / 0.5407 GB, free: 2.898 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5461, allocations: 0 / 0.5407 GB, free: 2.898 MB / 398.1 MB Notification: Performance of Templates: time 0.008326/0.5544, allocations: 3.164 MB / 0.5437 GB, free: 1.344 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches