Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009381/0.0009383, allocations: 192.4 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007142/0.0007142, allocations: 99.61 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.322/0.322, allocations: 45 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002683, allocations: 4 kB / 470.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3134, allocations: 63.1 MB / 0.5214 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.002598/0.3161, allocations: 3.025 MB / 0.5243 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3172, allocations: 0.9422 MB / 0.5252 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3173, allocations: 8.594 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.3175, allocations: 56.64 kB / 0.5253 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.3177, allocations: 108.9 kB / 0.5254 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.318, allocations: 113.1 kB / 0.5255 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.3184, allocations: 0.4947 MB / 0.526 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.3186, allocations: 204.3 kB / 0.5262 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.3189, allocations: 183.3 kB / 0.5264 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3191, allocations: 204.3 kB / 0.5266 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.3191, allocations: 25.25 kB / 0.5266 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.422e-05/0.3192, allocations: 29.03 kB / 0.5266 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.3192, allocations: 82.14 kB / 0.5267 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3194, allocations: 242.9 kB / 0.5269 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.3197, allocations: 0.5186 MB / 0.5274 GB, free: 34.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3197, allocations: 0 / 0.5274 GB, free: 34.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3197, allocations: 0 / 0.5274 GB, free: 34.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3197, allocations: 0 / 0.5274 GB, free: 34.39 MB / 378.7 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.0009055/0.3206, allocations: 0.6943 MB / 0.5281 GB, free: 33.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3207, allocations: 12 kB / 0.5281 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.3208, allocations: 51.09 kB / 0.5282 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.321, allocations: 313 kB / 0.5285 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3211, allocations: 35.91 kB / 0.5285 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.3211, allocations: 45.78 kB / 0.5285 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.3218, allocations: 481.3 kB / 0.529 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3218, allocations: 0 / 0.529 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.3219, allocations: 14.94 kB / 0.529 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.3219, allocations: 11.34 kB / 0.529 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.3225, allocations: 343.8 kB / 0.5294 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.3243, allocations: 1.696 MB / 0.531 GB, free: 32.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.3248, allocations: 250.2 kB / 0.5313 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.325, allocations: 142 kB / 0.5314 GB, free: 31.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3251, allocations: 2.969 kB / 0.5314 GB, free: 31.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.3251, allocations: 41.47 kB / 0.5314 GB, free: 31.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.3251, allocations: 0 / 0.5314 GB, free: 31.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0024/0.3275, allocations: 1.354 MB / 0.5328 GB, free: 30.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.3276, allocations: 87.36 kB / 0.5328 GB, free: 30.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.3278, allocations: 259.3 kB / 0.5331 GB, free: 30.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3278, allocations: 36.45 kB / 0.5331 GB, free: 30.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.3279, allocations: 257.9 kB / 0.5334 GB, free: 30.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.328, allocations: 117.9 kB / 0.5335 GB, free: 30.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.328, allocations: 6.781 kB / 0.5335 GB, free: 30.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.3281, allocations: 344.1 kB / 0.5338 GB, free: 29.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.3283, allocations: 108.2 kB / 0.5339 GB, free: 29.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.3286, allocations: 218.6 kB / 0.5341 GB, free: 29.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.3291, allocations: 343 kB / 0.5345 GB, free: 29.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3291, allocations: 0 / 0.5345 GB, free: 29.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006963/0.3298, allocations: 429.7 kB / 0.5349 GB, free: 29.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.3298, allocations: 4.875 kB / 0.5349 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.3299, allocations: 2.594 kB / 0.5349 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.33, allocations: 30.12 kB / 0.5349 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.3304, allocations: 132.4 kB / 0.535 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000675/0.3311, allocations: 1.334 MB / 0.5363 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.3313, allocations: 19.06 kB / 0.5363 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.3314, allocations: 17.12 kB / 0.5364 GB, free: 27.94 MB / 378.7 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.0001443/0.3315, allocations: 170 kB / 0.5365 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.3316, allocations: 35.31 kB / 0.5366 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.3316, allocations: 38.81 kB / 0.5366 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3317, allocations: 9.312 kB / 0.5366 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3317, allocations: 4 kB / 0.5366 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3317, allocations: 0 / 0.5366 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000856/0.3325, allocations: 0.7178 MB / 0.5373 GB, free: 27.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3325, allocations: 0 / 0.5373 GB, free: 27.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.3329, allocations: 95.64 kB / 0.5374 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.246e-05/0.333, allocations: 25.22 kB / 0.5374 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.333, allocations: 6.625 kB / 0.5374 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005583/0.3336, allocations: 1.328 MB / 0.5387 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3336, allocations: 6.562 kB / 0.5387 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008055/0.3344, allocations: 0.612 MB / 0.5393 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.3345, allocations: 118.8 kB / 0.5394 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.3346, allocations: 10.53 kB / 0.5395 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.3348, allocations: 21.41 kB / 0.5395 GB, free: 25.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.3349, allocations: 33.38 kB / 0.5395 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.3349, allocations: 7.906 kB / 0.5395 GB, free: 25.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.335, allocations: 182.2 kB / 0.5397 GB, free: 25.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.335, allocations: 0 / 0.5397 GB, free: 25.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.3354, allocations: 93.34 kB / 0.5398 GB, free: 25.23 MB / 378.7 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 9.623e-05/0.3355, allocations: 111.3 kB / 0.5399 GB, free: 25.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007296/0.3363, allocations: 420.8 kB / 0.5403 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3363, allocations: 0.75 kB / 0.5403 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.3366, allocations: 257.7 kB / 0.5405 GB, free: 24.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.3371, allocations: 39 kB / 0.5406 GB, free: 24.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3384, allocations: 1.187 MB / 0.5417 GB, free: 23.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3387, allocations: 0.8102 MB / 0.5425 GB, free: 23.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.3389, allocations: 37.11 kB / 0.5426 GB, free: 23.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.339, allocations: 30.47 kB / 0.5426 GB, free: 23.22 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.339, allocations: 2.656 kB / 0.5426 GB, free: 23.22 MB / 378.7 MB Notification: Performance of Templates: time 0.006545/0.3455, allocations: 2.885 MB / 0.5454 GB, free: 22.99 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches