Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 58.33 kB / 307.7 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09954, allocations: 50.55 MB / 358.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006465/0.106, allocations: 4.33 MB / 362.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.1089, allocations: 1.724 MB / 364.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.1092, allocations: 15.94 kB / 364.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002253/0.1114, allocations: 1.015 MB / 365.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.1121, allocations: 258.2 kB / 365.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.1136, allocations: 0.7584 MB / 366.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.1143, allocations: 0.6375 MB / 366.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007769/0.1151, allocations: 0.5211 MB / 367.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.1154, allocations: 274.9 kB / 367.7 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.1159, allocations: 354.5 kB / 368.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.681e-05/0.1159, allocations: 56 kB / 368.1 MB, free: 4.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005612/0.1165, allocations: 291.7 kB / 368.4 MB, free: 3.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1166, allocations: 147.5 kB / 368.6 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.1169, allocations: 322.4 kB / 368.9 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.118, allocations: 0.9656 MB / 369.8 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.118, allocations: 0 / 369.8 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.118, allocations: 0 / 369.8 MB, free: 2.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.118, allocations: 0 / 369.8 MB, free: 2.312 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.003528/0.1215, allocations: 1.276 MB / 371.1 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1216, allocations: 8.031 kB / 371.1 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.1228, allocations: 196 kB / 371.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1231, allocations: 250.5 kB / 371.6 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.1231, allocations: 58.38 kB / 371.6 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.1232, allocations: 76.31 kB / 371.7 MB, free: 384 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1769/0.3002, allocations: 0.7652 MB / 372.4 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.3002, allocations: 5.516 kB / 372.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.3003, allocations: 29.81 kB / 372.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.3003, allocations: 17.66 kB / 372.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.3017, allocations: 0.6663 MB / 373.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.3055, allocations: 3.276 MB / 376.4 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.3075, allocations: 2.081 MB / 378.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/0.3081, allocations: 315.9 kB / 378.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.3082, allocations: 187.2 kB / 379 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.3082, allocations: 48.5 kB / 379.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.394e-06/0.3082, allocations: 1.375 kB / 379.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002432/0.3107, allocations: 1.136 MB / 380.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.3107, allocations: 112.6 kB / 380.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.311, allocations: 278.3 kB / 380.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.3111, allocations: 40.11 kB / 380.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.3112, allocations: 298.9 kB / 380.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.3114, allocations: 247.1 kB / 381.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.3116, allocations: 140.3 kB / 381.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.3117, allocations: 348.6 kB / 381.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.3122, allocations: 229.1 kB / 381.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.3127, allocations: 391 kB / 382.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.3136, allocations: 0.6309 MB / 382.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3137, allocations: 1.469 kB / 382.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001353/0.315, allocations: 0.8387 MB / 383.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.315, allocations: 7.922 kB / 383.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3151, allocations: 4.062 kB / 383.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/0.3154, allocations: 131.4 kB / 383.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.316, allocations: 158.5 kB / 384 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.3184, allocations: 3.789 MB / 387.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.3189, allocations: 84.28 kB / 387.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.3189, allocations: 30.83 kB / 387.9 MB, free: 8.805 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.0002136/0.3191, allocations: 203.6 kB / 388.1 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/0.3192, allocations: 45.41 kB / 388.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.3207, allocations: 0.7363 MB / 388.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3207, allocations: 10.91 kB / 388.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3207, allocations: 7.188 kB / 388.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3207, allocations: 5.328 kB / 388.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.323, allocations: 1.499 MB / 390.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.323, allocations: 1.094 kB / 390.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.3235, allocations: 114.2 kB / 390.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.3238, allocations: 115.7 kB / 390.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.3238, allocations: 17.88 kB / 390.7 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.3257, allocations: 3.357 MB / 394 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3257, allocations: 0 / 394 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.3274, allocations: 1.118 MB / 395.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.3275, allocations: 129.1 kB / 395.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.3275, allocations: 12.06 kB / 395.3 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.3279, allocations: 26.56 kB / 395.3 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.328, allocations: 56.42 kB / 395.3 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3281, allocations: 21.64 kB / 395.4 MB, free: 3.516 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.3282, allocations: 199.1 kB / 395.6 MB, free: 3.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.3282, allocations: 0 / 395.6 MB, free: 3.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007412/0.329, allocations: 214.8 kB / 395.8 MB, free: 3.348 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.0002179/0.3292, allocations: 152.9 kB / 395.9 MB, free: 3.238 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3308, allocations: 0.9127 MB / 396.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3308, allocations: 0 / 396.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006714/0.3315, allocations: 0.5631 MB / 397.4 MB, free: 2.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3319, allocations: 36.47 kB / 397.4 MB, free: 2.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3336, allocations: 1.125 MB / 398.6 MB, free: 1.762 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3338, allocations: 0.8599 MB / 399.4 MB, free: 1.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.334, allocations: 58.08 kB / 399.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.334, allocations: 0 / 399.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of Templates: time 0.2461/0.5801, allocations: 11.55 MB / 411 MB, free: 8.734 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches