Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 103.2 kB / 18.4 MB, free: 4.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.0009957/0.0009957, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.225/1.225, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.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.001189/0.001189, allocations: 51.92 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07104/0.07224, allocations: 46.62 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004988/0.07725, allocations: 4.293 MB / 380.1 MB, free: 300 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1406/0.2179, allocations: 1.675 MB / 381.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.2181, allocations: 17.19 kB / 381.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.2201, allocations: 1.014 MB / 382.8 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.2205, allocations: 251.4 kB / 383.1 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2218, allocations: 0.7949 MB / 383.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.2224, allocations: 0.6381 MB / 384.5 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.223, allocations: 0.514 MB / 385 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.2233, allocations: 273.5 kB / 385.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.2237, allocations: 359.4 kB / 385.6 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/0.2238, allocations: 55.97 kB / 385.7 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.2242, allocations: 278.9 kB / 386 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.2243, allocations: 141.1 kB / 386.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.2245, allocations: 325.7 kB / 386.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000847/0.2254, allocations: 0.9531 MB / 387.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2254, allocations: 1.031 kB / 387.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2254, allocations: 0 / 387.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.2254, allocations: 0 / 387.4 MB, free: 8.125 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003371/0.2288, allocations: 1.259 MB / 388.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2288, allocations: 9.062 kB / 388.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.2303, allocations: 205 kB / 388.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.2304, allocations: 235.8 kB / 389.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.2305, allocations: 56.19 kB / 389.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.2306, allocations: 77.77 kB / 389.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.2319, allocations: 0.7721 MB / 390 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.2319, allocations: 5.062 kB / 390 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.232, allocations: 27.91 kB / 390 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.232, allocations: 18.34 kB / 390 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.2333, allocations: 0.6692 MB / 390.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.2367, allocations: 3.088 MB / 393.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.2386, allocations: 2.085 MB / 395.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.2392, allocations: 325.4 kB / 396.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-05/0.2393, allocations: 100.2 kB / 396.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.2393, allocations: 42.3 kB / 396.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.2393, allocations: 0 / 396.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002437/0.2418, allocations: 1.148 MB / 397.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.2418, allocations: 110.5 kB / 397.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.2421, allocations: 275.2 kB / 397.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.2421, allocations: 35.95 kB / 397.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2422, allocations: 301.5 kB / 398.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.2424, allocations: 244.4 kB / 398.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.2425, allocations: 140.4 kB / 398.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.982e-05/0.2426, allocations: 356.3 kB / 398.9 MB, free: 372 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.2431, allocations: 230.6 kB / 399.1 MB, free: 296 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.2437, allocations: 383.3 kB / 399.5 MB, free: 40 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.2448, allocations: 0.638 MB / 400.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2448, allocations: 0 / 400.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001578/0.2464, allocations: 0.8328 MB / 401 MB, free: 15.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2464, allocations: 7.609 kB / 401 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2465, allocations: 7.25 kB / 401 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/0.2468, allocations: 124.4 kB / 401.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.2475, allocations: 162.3 kB / 401.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.2507, allocations: 3.779 MB / 405 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.2512, allocations: 86.33 kB / 405.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.2512, allocations: 32.72 kB / 405.2 MB, free: 11.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * 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,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002397/0.2515, allocations: 202.9 kB / 405.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2516, allocations: 40.47 kB / 405.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.2532, allocations: 0.7474 MB / 406.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.2532, allocations: 3.469 kB / 406.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2532, allocations: 4.969 kB / 406.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.2533, allocations: 124.8 kB / 406.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.2534, allocations: 19.41 kB / 406.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/0.2538, allocations: 28.66 kB / 406.3 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2539, allocations: 54.41 kB / 406.4 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00176/0.2557, allocations: 0.8588 MB / 407.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001697/0.2574, allocations: 1.082 MB / 408.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004809/0.2579, allocations: 245.1 kB / 408.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.2581, allocations: 194.8 kB / 408.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of Backend: time 3.71e-07/0.2581, allocations: 0 / 408.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.2599, allocations: 0.8643 MB / 409.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of SimCode: time 0.001555/0.2614, allocations: 1.439 MB / 411.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of Templates: time 0.01552/0.277, allocations: 9.42 MB / 420.5 MB, free: 1.672 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches