Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.000966/0.000966, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.001042/0.001042, allocations: 179.9 kB / 18.21 MB, free: 5.25 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.122/1.122, allocations: 223.3 MB / 242.3 MB, free: 92 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002005/0.0002005, allocations: 7.938 kB / 302.1 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07024/0.07045, allocations: 50.41 MB / 352.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003469/0.07393, allocations: 3.899 MB / 356.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.07612, allocations: 1.612 MB / 358 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.07634, allocations: 12 kB / 358 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.07682, allocations: 223.1 kB / 358.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.07734, allocations: 214.8 kB / 358.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.07858, allocations: 0.7672 MB / 359.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.0791, allocations: 0.6026 MB / 359.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.08044, allocations: 0.9228 MB / 360.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.08072, allocations: 234.9 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.08104, allocations: 322.5 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.0811, allocations: 28 kB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.08149, allocations: 239.8 kB / 361.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.08157, allocations: 103.5 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.08179, allocations: 320 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005709/0.08236, allocations: 0.7208 MB / 362.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.08237, allocations: 0 / 362.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.08238, allocations: 4 kB / 362.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.0824, allocations: 0 / 362.7 MB, free: 9.41 MB / 302.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.002986/0.08539, allocations: 1.143 MB / 363.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.08542, allocations: 8.031 kB / 363.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.08668, allocations: 204 kB / 364 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.08685, allocations: 250.3 kB / 364.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.0869, allocations: 66.31 kB / 364.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.08701, allocations: 72.38 kB / 364.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.0882, allocations: 0.7741 MB / 365.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.08823, allocations: 7.906 kB / 365.2 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.0883, allocations: 35.94 kB / 365.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.08832, allocations: 20 kB / 365.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.08953, allocations: 0.6844 MB / 365.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.09294, allocations: 3.115 MB / 369.1 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.09492, allocations: 2.087 MB / 371.1 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1255/0.2205, allocations: 327.5 kB / 371.5 MB, free: 24.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.2206, allocations: 97.16 kB / 371.6 MB, free: 24.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.2207, allocations: 42.3 kB / 371.6 MB, free: 24.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/0.2207, allocations: 1.094 kB / 371.6 MB, free: 24.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002569/0.2232, allocations: 1.19 MB / 372.8 MB, free: 24.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.2233, allocations: 111.1 kB / 372.9 MB, free: 24.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.2236, allocations: 271.9 kB / 373.2 MB, free: 23.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.2236, allocations: 38.02 kB / 373.2 MB, free: 23.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.2237, allocations: 303.6 kB / 373.5 MB, free: 23.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.2239, allocations: 242.9 kB / 373.7 MB, free: 23.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.2239, allocations: 65.2 kB / 373.8 MB, free: 23.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.224, allocations: 350.4 kB / 374.1 MB, free: 23.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.2245, allocations: 238.9 kB / 374.4 MB, free: 23.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005635/0.2251, allocations: 407.1 kB / 374.8 MB, free: 23.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.2261, allocations: 0.6534 MB / 375.4 MB, free: 22.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2261, allocations: 2.125 kB / 375.4 MB, free: 22.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001387/0.2275, allocations: 0.8541 MB / 376.3 MB, free: 22.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2275, allocations: 9.844 kB / 376.3 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.2276, allocations: 4.125 kB / 376.3 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.2279, allocations: 129.1 kB / 376.4 MB, free: 22.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.2285, allocations: 159.5 kB / 376.6 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.2306, allocations: 3.43 MB / 380 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.231, allocations: 89.36 kB / 380.1 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.2311, allocations: 32.98 kB / 380.1 MB, free: 19.43 MB / 302.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.0001939/0.2313, allocations: 208.1 kB / 380.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/0.2314, allocations: 40.42 kB / 380.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.2328, allocations: 0.7652 MB / 381.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2328, allocations: 8.812 kB / 381.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2328, allocations: 10.53 kB / 381.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2328, allocations: 3.281 kB / 381.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.2349, allocations: 1.516 MB / 382.7 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2349, allocations: 4.656 kB / 382.7 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.2354, allocations: 114.7 kB / 382.8 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.2356, allocations: 109.2 kB / 382.9 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.2357, allocations: 21.08 kB / 382.9 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.2373, allocations: 3.115 MB / 386 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2373, allocations: 1 kB / 386 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.239, allocations: 1.148 MB / 387.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.2391, allocations: 124.3 kB / 387.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.2391, allocations: 12.95 kB / 387.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.2395, allocations: 43.62 kB / 387.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2396, allocations: 54 kB / 387.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.2397, allocations: 21.25 kB / 387.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.2398, allocations: 194.5 kB / 387.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2398, allocations: 0 / 387.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006481/0.2405, allocations: 217.1 kB / 387.8 MB, free: 14.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (60): * Single equations (assignments): 58 * 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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.2407, allocations: 150.2 kB / 388 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.242, allocations: 0.8982 MB / 388.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.242, allocations: 1.156 kB / 388.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006634/0.2427, allocations: 0.5788 MB / 389.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.2431, allocations: 44.83 kB / 389.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.2449, allocations: 1.47 MB / 391 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.2452, allocations: 0.8676 MB / 391.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.2453, allocations: 54.09 kB / 391.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2453, allocations: 0 / 391.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01074/0.2561, allocations: 11.41 MB / 403.3 MB, free: 4.867 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches