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.001494/0.001494, allocations: 108 kB / 18.4 MB, free: 4.703 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.001662/0.001663, allocations: 194.3 kB / 19.33 MB, free: 3.781 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.345/1.345, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001222/0.001222, allocations: 47.94 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.08911, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005431/0.09459, allocations: 4.298 MB / 380.1 MB, free: 280 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1959/0.2905, allocations: 1.676 MB / 381.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007803/0.2914, allocations: 16.56 kB / 381.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.2944, allocations: 1.021 MB / 382.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.2959, allocations: 244.6 kB / 383.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.2982, allocations: 0.7959 MB / 383.9 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001741/0.3, allocations: 0.638 MB / 384.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.3013, allocations: 0.5167 MB / 385 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009877/0.3023, allocations: 274.9 kB / 385.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.3035, allocations: 364.3 kB / 385.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003356/0.3038, allocations: 55.34 kB / 385.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.3054, allocations: 275.1 kB / 386 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.3056, allocations: 136.9 kB / 386.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007063/0.3064, allocations: 332 kB / 386.4 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.3085, allocations: 0.949 MB / 387.4 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3085, allocations: 5.25 kB / 387.4 MB, free: 8.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3086, allocations: 0 / 387.4 MB, free: 8.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.272e-05/0.3086, allocations: 0 / 387.4 MB, free: 8.094 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.004149/0.3128, allocations: 1.256 MB / 388.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3128, allocations: 8.812 kB / 388.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.3143, allocations: 205.6 kB / 388.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.3146, allocations: 236.8 kB / 389.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.3147, allocations: 56.03 kB / 389.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.3149, allocations: 77.62 kB / 389.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.3166, allocations: 0.7766 MB / 390 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.3166, allocations: 1.125 kB / 390 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.3167, allocations: 30.41 kB / 390 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.3167, allocations: 17.56 kB / 390 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.3182, allocations: 0.67 MB / 390.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004228/0.3225, allocations: 3.088 MB / 393.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.3245, allocations: 2.077 MB / 395.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.3252, allocations: 336 kB / 396.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.876e-05/0.3253, allocations: 97.16 kB / 396.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.3253, allocations: 39.44 kB / 396.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.3253, allocations: 1.125 kB / 396.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002652/0.328, allocations: 1.14 MB / 397.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.328, allocations: 111.9 kB / 397.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.3284, allocations: 274.7 kB / 397.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.3284, allocations: 36.67 kB / 397.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.3286, allocations: 298.8 kB / 398.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.3288, allocations: 251.1 kB / 398.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.329, allocations: 135.8 kB / 398.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.3291, allocations: 352.8 kB / 398.9 MB, free: 348 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.3296, allocations: 228.8 kB / 399.1 MB, free: 272 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/0.3302, allocations: 390.3 kB / 399.5 MB, free: 12 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3315, allocations: 0.6392 MB / 400.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.3315, allocations: 2.406 kB / 400.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001863/0.3334, allocations: 0.827 MB / 401 MB, free: 15.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3335, allocations: 7.609 kB / 401 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3335, allocations: 8.094 kB / 401 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/0.334, allocations: 120.3 kB / 401.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.3347, allocations: 168.5 kB / 401.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/0.3385, allocations: 3.782 MB / 405 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.3393, allocations: 86.28 kB / 405.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.3394, allocations: 32.28 kB / 405.2 MB, free: 11.66 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.0004182/0.3399, allocations: 204.5 kB / 405.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.34, allocations: 40.61 kB / 405.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.3418, allocations: 0.7379 MB / 406.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.3418, allocations: 7.469 kB / 406.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3418, allocations: 7.375 kB / 406.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.3418, allocations: 4.578 kB / 406.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.3449, allocations: 1.495 MB / 407.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3449, allocations: 0 / 407.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.3454, allocations: 115.7 kB / 407.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.3458, allocations: 111.2 kB / 407.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.3459, allocations: 14.34 kB / 407.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.349, allocations: 3.343 MB / 411.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.349, allocations: 2.062 kB / 411.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.3513, allocations: 1.123 MB / 412.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.3515, allocations: 129.8 kB / 412.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/0.3516, allocations: 15.28 kB / 412.5 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.352, allocations: 33.56 kB / 412.5 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.3522, allocations: 52.73 kB / 412.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.3522, allocations: 22.59 kB / 412.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.3525, allocations: 191.5 kB / 412.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3525, allocations: 0 / 412.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009858/0.3535, allocations: 216.5 kB / 413 MB, free: 6.094 MB / 334.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.0003133/0.3538, allocations: 144.8 kB / 413.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.3558, allocations: 0.8833 MB / 414 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3558, allocations: 3.938 kB / 414 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000968/0.3568, allocations: 0.5568 MB / 414.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.3573, allocations: 52.14 kB / 414.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.3599, allocations: 1.14 MB / 415.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.3604, allocations: 0.8675 MB / 416.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.3606, allocations: 52.36 kB / 416.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3606, allocations: 0 / 416.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Templates: time 0.01795/0.3786, allocations: 11.47 MB / 428.2 MB, free: 9.531 MB / 350.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