Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 200.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.5 MB / 243.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007183/0.0007181, allocations: 96.11 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2915/0.2915, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002635, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2946, allocations: 62.96 MB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002011/0.2967, allocations: 2.054 MB / 0.5179 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.2977, allocations: 0.7599 MB / 0.5186 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2978, allocations: 9.594 kB / 0.5186 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.298, allocations: 37.5 kB / 0.5187 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.2982, allocations: 91.23 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.2984, allocations: 64.89 kB / 0.5188 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.2987, allocations: 307.5 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.2988, allocations: 97.77 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.299, allocations: 121.2 kB / 0.5193 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.2991, allocations: 128.7 kB / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.2992, allocations: 14.28 kB / 0.5195 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.112e-05/0.2993, allocations: 20.03 kB / 0.5195 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.2993, allocations: 50.56 kB / 0.5195 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.857e-05/0.2994, allocations: 150.3 kB / 0.5197 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2996, allocations: 273.1 kB / 0.5199 GB, free: 34.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2996, allocations: 6.844 kB / 0.5199 GB, free: 34.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2996, allocations: 0 / 0.5199 GB, free: 34.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2996, allocations: 0 / 0.5199 GB, free: 34.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008315/0.3005, allocations: 0.5644 MB / 0.5205 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3005, allocations: 11.78 kB / 0.5205 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.3007, allocations: 37.47 kB / 0.5205 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.3009, allocations: 255.9 kB / 0.5208 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3009, allocations: 21.44 kB / 0.5208 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.301, allocations: 29.06 kB / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.3014, allocations: 250.8 kB / 0.5211 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3014, allocations: 0 / 0.5211 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.3015, allocations: 10.81 kB / 0.5211 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3015, allocations: 5.938 kB / 0.5211 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004405/0.3019, allocations: 237.7 kB / 0.5213 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.3032, allocations: 0.8759 MB / 0.5222 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.3037, allocations: 309.3 kB / 0.5225 GB, free: 32.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.3041, allocations: 150.7 kB / 0.5226 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.3041, allocations: 6.453 kB / 0.5226 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.3041, allocations: 34.56 kB / 0.5226 GB, free: 32.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.866e-06/0.3042, allocations: 3.984 kB / 0.5226 GB, free: 32.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004055/0.3082, allocations: 1.273 MB / 0.5239 GB, free: 32.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3083, allocations: 57.14 kB / 0.5239 GB, free: 32.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3085, allocations: 217.8 kB / 0.5242 GB, free: 31.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3085, allocations: 32.73 kB / 0.5242 GB, free: 31.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.3086, allocations: 161.2 kB / 0.5243 GB, free: 31.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.3086, allocations: 102.6 kB / 0.5244 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.3086, allocations: 10.47 kB / 0.5244 GB, free: 31.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.3087, allocations: 337.7 kB / 0.5248 GB, free: 31.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.3089, allocations: 99.39 kB / 0.5249 GB, free: 31.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.3091, allocations: 126.8 kB / 0.525 GB, free: 31.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.3096, allocations: 248 kB / 0.5252 GB, free: 31.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3096, allocations: 0 / 0.5252 GB, free: 31.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001539/0.3111, allocations: 0.55 MB / 0.5258 GB, free: 30.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3111, allocations: 2.688 kB / 0.5258 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3112, allocations: 3.094 kB / 0.5258 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.3127, allocations: 316.1 kB / 0.5261 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3128, allocations: 30.34 kB / 0.5261 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/0.3183, allocations: 6.334 MB / 0.5323 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.3185, allocations: 30 kB / 0.5323 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.3186, allocations: 16.8 kB / 0.5323 GB, free: 25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.3187, allocations: 136.7 kB / 0.5325 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.3188, allocations: 23.5 kB / 0.5325 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.3203, allocations: 0.5543 MB / 0.533 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3204, allocations: 6.844 kB / 0.533 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3204, allocations: 7.312 kB / 0.533 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3204, allocations: 0 / 0.533 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.3207, allocations: 360.6 kB / 0.5334 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3207, allocations: 0 / 0.5334 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3208, allocations: 17.59 kB / 0.5334 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.3224, allocations: 322 kB / 0.5337 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.3225, allocations: 6.844 kB / 0.5337 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006872/0.3293, allocations: 6.359 MB / 0.5399 GB, free: 18.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3294, allocations: 0 / 0.5399 GB, free: 18.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.3314, allocations: 0.6338 MB / 0.5405 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.3315, allocations: 106.2 kB / 0.5406 GB, free: 18.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.3315, allocations: 8 kB / 0.5406 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.3318, allocations: 13.75 kB / 0.5407 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.3319, allocations: 35.14 kB / 0.5407 GB, free: 17.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.332, allocations: 5.062 kB / 0.5407 GB, free: 17.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.3321, allocations: 158.2 kB / 0.5408 GB, free: 17.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3321, allocations: 0 / 0.5408 GB, free: 17.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007362/0.3329, allocations: 118.8 kB / 0.541 GB, free: 17.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001258/0.333, allocations: 109 kB / 0.5411 GB, free: 17.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.3342, allocations: 0.7538 MB / 0.5418 GB, free: 17.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3342, allocations: 0 / 0.5418 GB, free: 17.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.3355, allocations: 0.7188 MB / 0.5425 GB, free: 16.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.336, allocations: 24.25 kB / 0.5425 GB, free: 16.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.3371, allocations: 0.6689 MB / 0.5432 GB, free: 16.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3374, allocations: 0.7709 MB / 0.5439 GB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.3374, allocations: 13.19 kB / 0.5439 GB, free: 15.48 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3374, allocations: 0 / 0.5439 GB, free: 15.48 MB / 378.7 MB Notification: Performance of Templates: time 0.01138/0.3488, allocations: 7.946 MB / 0.5517 GB, free: 14 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches