Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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) 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 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(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_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_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 115.7 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 213.9 kB / 19.4 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1958/0.1958, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 71.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2843, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003306/0.2877, allocations: 2.48 MB / 0.5341 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2889, allocations: 0.8434 MB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.289, allocations: 2.75 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.2892, allocations: 59.88 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.2894, allocations: 104 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.2897, allocations: 102.8 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.29, allocations: 357.6 kB / 0.5355 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.2902, allocations: 91.33 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.2904, allocations: 144.8 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.2906, allocations: 158.3 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.2906, allocations: 30.03 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.2907, allocations: 31.94 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.2908, allocations: 67.02 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.2909, allocations: 161.5 kB / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.2912, allocations: 377.8 kB / 0.5365 GB, free: 9.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.2912, allocations: 0 / 0.5365 GB, free: 9.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2913, allocations: 1.219 kB / 0.5365 GB, free: 9.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2913, allocations: 0 / 0.5365 GB, free: 9.82 MB / 398.1 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.001/0.2923, allocations: 0.6242 MB / 0.5371 GB, free: 9.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2923, allocations: 13.42 kB / 0.5371 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.2925, allocations: 36.19 kB / 0.5372 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.2928, allocations: 277.1 kB / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2928, allocations: 18.97 kB / 0.5374 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.2929, allocations: 24.12 kB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.2933, allocations: 251.4 kB / 0.5377 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2934, allocations: 0 / 0.5377 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.2934, allocations: 10.56 kB / 0.5377 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.2934, allocations: 5.781 kB / 0.5377 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.2939, allocations: 236.4 kB / 0.538 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.2953, allocations: 0.8768 MB / 0.5388 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.2958, allocations: 313.7 kB / 0.5391 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.2961, allocations: 142.1 kB / 0.5392 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.2961, allocations: 4.562 kB / 0.5392 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.2961, allocations: 36.12 kB / 0.5393 GB, free: 7.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.2961, allocations: 0 / 0.5393 GB, free: 7.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.004282/0.3004, allocations: 1.266 MB / 0.5405 GB, free: 6.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.3005, allocations: 57.98 kB / 0.5406 GB, free: 6.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3007, allocations: 232.8 kB / 0.5408 GB, free: 6.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3007, allocations: 29.7 kB / 0.5408 GB, free: 6.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3009, allocations: 170.7 kB / 0.541 GB, free: 6.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.3009, allocations: 106.1 kB / 0.5411 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.301, allocations: 56.64 kB / 0.5411 GB, free: 6.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3011, allocations: 335.9 kB / 0.5415 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.3014, allocations: 97.2 kB / 0.5416 GB, free: 5.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.3016, allocations: 124.6 kB / 0.5417 GB, free: 5.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.302, allocations: 232.4 kB / 0.5419 GB, free: 5.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.302, allocations: 0 / 0.5419 GB, free: 5.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0017/0.3037, allocations: 0.5451 MB / 0.5424 GB, free: 5.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3037, allocations: 4.875 kB / 0.5424 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3038, allocations: 1.125 kB / 0.5424 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.3054, allocations: 318.9 kB / 0.5427 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3055, allocations: 26.3 kB / 0.5428 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007024/0.3126, allocations: 6.847 MB / 0.5495 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.3128, allocations: 31.7 kB / 0.5495 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.3128, allocations: 4 kB / 0.5495 GB, free: 14.51 MB / 414.1 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.313, allocations: 145.7 kB / 0.5496 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.3131, allocations: 27.62 kB / 0.5496 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.3148, allocations: 0.5479 MB / 0.5502 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3148, allocations: 7.938 kB / 0.5502 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3148, allocations: 7.938 kB / 0.5502 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3148, allocations: 3.938 kB / 0.5502 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.3152, allocations: 357.3 kB / 0.5505 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3152, allocations: 4 kB / 0.5505 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3153, allocations: 20.16 kB / 0.5506 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.3167, allocations: 311.2 kB / 0.5509 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.3168, allocations: 8 kB / 0.5509 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006455/0.3232, allocations: 6.897 MB / 0.5576 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3233, allocations: 0 / 0.5576 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.3249, allocations: 0.6234 MB / 0.5582 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.325, allocations: 116.5 kB / 0.5583 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.325, allocations: 7.984 kB / 0.5583 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3252, allocations: 12 kB / 0.5583 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.3253, allocations: 27.95 kB / 0.5584 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3253, allocations: 8 kB / 0.5584 GB, free: 4.703 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3254, allocations: 170 kB / 0.5585 GB, free: 4.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3255, allocations: 0 / 0.5585 GB, free: 4.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.3259, allocations: 123.8 kB / 0.5587 GB, free: 4.418 MB / 414.1 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001105/0.3261, allocations: 106.2 kB / 0.5588 GB, free: 4.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009744/0.327, allocations: 0.7525 MB / 0.5595 GB, free: 3.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.327, allocations: 0 / 0.5595 GB, free: 3.504 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.3281, allocations: 0.7328 MB / 0.5602 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3285, allocations: 32.73 kB / 0.5602 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009098/0.3294, allocations: 0.5914 MB / 0.5608 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3297, allocations: 0.7756 MB / 0.5616 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.3297, allocations: 15.44 kB / 0.5616 GB, free: 1.242 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3297, allocations: 0 / 0.5616 GB, free: 1.242 MB / 414.1 MB Notification: Performance of Templates: time 0.008843/0.3386, allocations: 8.346 MB / 0.5697 GB, free: 8.895 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches