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.001544/0.001544, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001687/0.001687, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.011/2.011, allocations: 222.9 MB / 242.4 MB, free: 15.34 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.4146/0.4146, allocations: 44.16 MB / 336.8 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 64.22 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1968, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.009103/0.206, allocations: 3.529 MB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.2087, allocations: 0.7907 MB / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.2094, allocations: 11.94 kB / 473.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.2099, allocations: 47.61 kB / 473.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007543/0.2107, allocations: 111.1 kB / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007327/0.2115, allocations: 103.9 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.2126, allocations: 0.5099 MB / 474.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006285/0.2132, allocations: 202.7 kB / 474.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005583/0.2138, allocations: 195.3 kB / 474.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.2144, allocations: 223 kB / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.2146, allocations: 36 kB / 474.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.2148, allocations: 36 kB / 474.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.2149, allocations: 95.61 kB / 475 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004996/0.2155, allocations: 234.8 kB / 475.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007321/0.2162, allocations: 431.1 kB / 475.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2162, allocations: 4 kB / 475.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2163, allocations: 3.938 kB / 475.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.164e-05/0.2163, allocations: 0 / 475.7 MB, free: 8.254 MB / 350.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.002719/0.219, allocations: 0.7564 MB / 476.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.048e-05/0.2191, allocations: 12.03 kB / 476.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.2194, allocations: 56.28 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/0.2201, allocations: 305.5 kB / 476.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.2202, allocations: 37.38 kB / 476.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.2203, allocations: 48.38 kB / 476.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.2219, allocations: 467.2 kB / 477.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.222, allocations: 0 / 477.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.2221, allocations: 20 kB / 477.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.2221, allocations: 12 kB / 477.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.2235, allocations: 323.8 kB / 477.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/0.2281, allocations: 1.697 MB / 479.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.2292, allocations: 244.9 kB / 479.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/0.2298, allocations: 133.7 kB / 479.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.2299, allocations: 7.984 kB / 479.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.2299, allocations: 38.56 kB / 479.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.865e-06/0.2299, allocations: 0 / 479.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.00542/0.2354, allocations: 1.332 MB / 481.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.2355, allocations: 81.11 kB / 481.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.236, allocations: 262.6 kB / 481.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.2361, allocations: 33.7 kB / 481.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.2364, allocations: 259.4 kB / 481.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.2365, allocations: 122.2 kB / 481.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.2368, allocations: 78.05 kB / 482 MB, free: 1.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.237, allocations: 342.8 kB / 482.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.2375, allocations: 100.8 kB / 482.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.2382, allocations: 228.2 kB / 482.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.2394, allocations: 335.8 kB / 483 MB, free: 492 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/0.2394, allocations: 4 kB / 483 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001643/0.2411, allocations: 425.8 kB / 483.4 MB, free: 56 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.2411, allocations: 8 kB / 483.4 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.2412, allocations: 0 / 483.4 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.2414, allocations: 32.84 kB / 483.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008852/0.2423, allocations: 131.7 kB / 483.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.2441, allocations: 1.331 MB / 484.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.2447, allocations: 19.98 kB / 484.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.2448, allocations: 16 kB / 484.9 MB, free: 14.38 MB / 366.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.0003769/0.2452, allocations: 161.8 kB / 485.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.2453, allocations: 35.56 kB / 485.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.2455, allocations: 34.17 kB / 485.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.2455, allocations: 7.938 kB / 485.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.2455, allocations: 4 kB / 485.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.2456, allocations: 3.984 kB / 485.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.2477, allocations: 0.7115 MB / 485.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.2477, allocations: 0 / 485.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007953/0.2485, allocations: 91.88 kB / 486 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/0.2487, allocations: 33.05 kB / 486 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.2488, allocations: 7.984 kB / 486 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.2503, allocations: 1.335 MB / 487.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2504, allocations: 64 / 487.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.2522, allocations: 0.6054 MB / 487.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.2525, allocations: 120.8 kB / 488.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/0.2526, allocations: 8 kB / 488.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.2531, allocations: 23.98 kB / 488.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.2533, allocations: 23.95 kB / 488.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.2533, allocations: 12 kB / 488.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003259/0.2537, allocations: 186 kB / 488.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2537, allocations: 0 / 488.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009239/0.2546, allocations: 92 kB / 488.4 MB, free: 10.65 MB / 366.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.0002215/0.2549, allocations: 107.7 kB / 488.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.2564, allocations: 412.1 kB / 488.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.2564, allocations: 0 / 488.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007229/0.2571, allocations: 250.4 kB / 489.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.2582, allocations: 46.77 kB / 489.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.2615, allocations: 1.129 MB / 490.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.2622, allocations: 0.8151 MB / 491.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.2624, allocations: 27.44 kB / 491.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2625, allocations: 0 / 491.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of Templates: time 0.01745/0.2799, allocations: 5.938 MB / 497.1 MB, free: 1.844 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/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